SL-11238, SL-11337

Tweak application of ambient in deferred soften light for class1/2
meow-7.2.2
Graham Linden 2019-06-03 10:22:43 -07:00
parent bb214c30c3
commit 9d73d103bc
2 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,7 @@ void main()
vec3 sun_contrib = final_da * sunlit;
#if !defined(AMBIENT_KILL)
color.rgb = amblit * 0.5;
color.rgb = pow(amblit, vec3(1.0/1.3));
color.rgb *= ambient;
#endif

View File

@ -120,6 +120,7 @@ void main()
#if !defined(AMBIENT_KILL)
color.rgb = amblit * 0.5;
color.rgb = pow(color.rgb, vec3(1.0/1.1));
color.rgb *= ambient;
#endif