diff options
author | Ptolemy <ptolemy@lindenlab.com> | 2022-06-21 22:00:12 -0700 |
---|---|---|
committer | Ptolemy <ptolemy@lindenlab.com> | 2022-06-21 22:00:12 -0700 |
commit | 77b96114c30232c1d3f3b548bf982f89f11d09da (patch) | |
tree | 46bde1176106701ff73e13946a5a9b77ba94c932 /indra/newview/app_settings/shaders/class1/deferred/diffuseF.glsl | |
parent | 8b4347cb10ab922f5001306912983cdd73a68309 (diff) |
SL-17274 Cleanup hard-coded gbuffer atmos flag for softenlight
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/diffuseF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/diffuseF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/diffuseF.glsl b/indra/newview/app_settings/shaders/class1/deferred/diffuseF.glsl index 8319e61242..b2d2e2fa71 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/diffuseF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/diffuseF.glsl @@ -46,6 +46,6 @@ void main() frag_data[1] = vertex_color.aaaa; // spec //frag_data[1] = vec4(vec3(vertex_color.a), vertex_color.a+(1.0-vertex_color.a)*vertex_color.a); // spec - from former class3 - maybe better, but not so well tested vec3 nvn = normalize(vary_normal); - frag_data[2] = vec4(encode_normal(nvn.xyz), vertex_color.a, 0.0); + frag_data[2] = vec4(encode_normal(nvn.xyz), vertex_color.a, GBUFFER_FLAG_HAS_ATMOS); } |