-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add reflectivity/shininess support to TerrainLighting.frag (#2306)
* Add reflectivity/shininess support to TerrainLighting.frag Uses the (previously unused) SpecularMap as a gray-scale texture for painting shininess/reflectivity on the whole terrain. * Update TerrainLighting.j3md add USE_SPECULARMAP_AS_SHININESS define to make this PR cleaner, and allow the SpecularMap to be used as regular specularColor if USE_SPECULARMAP_AS_SHININESS is not true/defined * Update TerrainLighting.frag * Update TerrainLighting.frag
- Loading branch information
1 parent
6709ee8
commit d71feba
Showing
2 changed files
with
23 additions
and
3 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