Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#108: ambient lights now render correctly
Ambient lights had in fact never worked since the switch to GLSL, since the ambient light code was only ever present in the old Cg shaders. The GLSL shader is now updated to support ambient lights through a new bool uniform, which works for both models and brushes.
- Loading branch information
Matthew Mott
committed
Mar 8, 2021
1 parent
8cd54cd
commit 07a10bb
Showing
5 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters