From ef542b8d81b4acd8a12cdf3297db5096118d4f86 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Tue, 7 Sep 2021 19:36:09 -0400 Subject: [PATCH] Fix writing invalid value to specular buffer in deferred terrain --- .../newview/app_settings/shaders/class1/deferred/terrainF.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/app_settings/shaders/class1/deferred/terrainF.glsl b/indra/newview/app_settings/shaders/class1/deferred/terrainF.glsl index 69e83fa98ce..ece454e7292 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/terrainF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/terrainF.glsl @@ -60,7 +60,7 @@ void main() outColor.a = 0.0; // yes, downstream atmospherics frag_data[0] = outColor; - frag_data[1] = vec4(0.0,0.0,0.0,-1.0); + frag_data[1] = vec4(0.0,0.0,0.0,0.0); vec3 nvn = normalize(vary_normal); frag_data[2] = vec4(encode_normal(nvn.xyz), 0.0, 0.0); } -- GitLab