SL-18190 WIP - Whoopsie from last commit

meow-7.2.2
Dave Parks 2022-09-26 17:41:22 -05:00
parent 725d042640
commit 23ad6e930b
1 changed files with 1 additions and 2 deletions

View File

@ -176,7 +176,7 @@ void main()
//color = atmosFragLighting(color, additive, atten);
color *= atten.r;
color += additive;
color += additive*2.0;
}
else
@ -195,7 +195,6 @@ void main()
// use sky settings ambient or irradiance map sample, whichever is brighter
color = max(amblit, ambenv*ambocc);
color = ambenv;
float ambient = min(abs(dot(norm.xyz, sun_dir.xyz)), 1.0);
ambient *= 0.5;