fix issue with normals dying

This commit is contained in:
Xonk
2024-01-11 15:49:48 -05:00
parent e6a0f2d65d
commit 544af24f10
2 changed files with 7 additions and 2 deletions

View File

@ -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