Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since the merge of triplanar mapping, on most shader generation paths the normal would not end up in view space as it was supposed to. Triplanar mapping requires the normal to be in world space, but the lighting calculations required it in view space.
- Loading branch information
1 parent
4488f13
commit d851f3f
Showing
3 changed files
with
57 additions
and
55 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