summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3/deferred
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-06-21 22:00:12 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-06-21 22:00:12 -0700
commit77b96114c30232c1d3f3b548bf982f89f11d09da (patch)
tree46bde1176106701ff73e13946a5a9b77ba94c932 /indra/newview/app_settings/shaders/class3/deferred
parent8b4347cb10ab922f5001306912983cdd73a68309 (diff)
SL-17274 Cleanup hard-coded gbuffer atmos flag for softenlight
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/deferred')
-rw-r--r--indra/newview/app_settings/shaders/class3/deferred/materialF.glsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/materialF.glsl b/indra/newview/app_settings/shaders/class3/deferred/materialF.glsl
index c5b1937cfb..13369d09fd 100644
--- a/indra/newview/app_settings/shaders/class3/deferred/materialF.glsl
+++ b/indra/newview/app_settings/shaders/class3/deferred/materialF.glsl
@@ -446,10 +446,10 @@ void main()
#else // mode is not DIFFUSE_ALPHA_MODE_BLEND, encode to gbuffer
- // deferred path
- frag_data[0] = final_color; //gbuffer is sRGB
+ // deferred path // See: C++: addDeferredAttachment(), shader: softenLightF.glsl
+ frag_data[0] = final_color; // gbuffer is sRGB
frag_data[1] = final_specular; // XYZ = Specular color. W = Specular exponent.
- frag_data[2] = final_normal; // XY = Normal. Z = Env. intensity.
+ frag_data[2] = final_normal; // XY = Normal. Z = Env. intensity. W = 1 skip atmos (mask off fog)
#endif
}