From 94d4ae298b38630e6d936efc02d7d1a701f0ac1c Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Tue, 23 Apr 2019 12:52:48 -0700 Subject: SL-10901 part 1 Fix flicker even in no shadow ALM from pow on final_da. Shadow acne at Midday still present. --- indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/app_settings/shaders/class1') diff --git a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl index 8d126859c3..6f18244875 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl @@ -93,7 +93,7 @@ void main() float final_da = da; final_da = clamp(final_da, 0.0, 1.0); - final_da = pow(final_da, light_gamma); + //final_da = pow(final_da, light_gamma); vec4 diffuse = texture2DRect(diffuseRect, tc); @@ -177,7 +177,7 @@ vec3 post_diffuse = col.rgb; bloom = fogged.a; #endif -//col.rgb = post_diffuse; +//col.rgb = vec3(final_da); } frag_color.rgb = col.rgb; -- cgit v1.2.3