mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-22 00:37:35 +08:00
fix issue with normals dying
This commit is contained in:
@ -862,6 +862,7 @@ void main() {
|
||||
|
||||
|
||||
float skylight = max(pow(viewToWorld(FlatNormals).y*0.5+0.5,0.1) + SkylightDir, 0.25 + (1.0-lightmap.y) * 0.75) ;
|
||||
// skylight = 0.0;
|
||||
|
||||
AmbientLightColor *= skylight;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user