diff options
author | Dave Parks <davep@lindenlab.com> | 2023-04-06 13:21:25 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-04-06 13:21:25 -0500 |
commit | bb79718c8f0050569c80a1bfe4dd428321706d1a (patch) | |
tree | 7cf588c843e8a9e17629b77bb4903c97a3f346fd /indra/newview/app_settings/shaders/class1/deferred/treeF.glsl | |
parent | 31f8fb79513ba6d1220aac13a5db110a7e4104da (diff) |
SL-19538 Followup -- scrub all possible sources of NaNs, make dynamic exposure controls not persist, limit exposure range, and do a debug gl pass.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/treeF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/treeF.glsl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl b/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl index dc0e5b0ce3..d857e47b90 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/treeF.glsl @@ -25,11 +25,7 @@ /*[EXTRA_CODE_HERE]*/ -#ifdef DEFINE_GL_FRAGCOLOR -out vec4 frag_data[3]; -#else -#define frag_data gl_FragData -#endif +out vec4 frag_data[4]; uniform sampler2D diffuseMap; @@ -53,4 +49,5 @@ void main() frag_data[1] = vec4(0,0,0,0); vec3 nvn = normalize(vary_normal); frag_data[2] = vec4(encode_normal(nvn.xyz), 0.0, GBUFFER_FLAG_HAS_ATMOS); + frag_data[3] = vec4(0); } |