SL-11238, SL-11337
Tweak application of ambient in deferred soften light for class1/2meow-7.2.2
parent
bb214c30c3
commit
9d73d103bc
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue