From bbd87a154e7b114276b027707cab00df7120acd2 Mon Sep 17 00:00:00 2001 From: Ptolemy Date: Fri, 24 Jun 2022 13:06:29 -0700 Subject: SL-17274: Cleanup frag_data --- indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra') diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl index d5b4e278bc..1b5a1c82a2 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl @@ -120,7 +120,7 @@ void main() #endif frag_data[0] = vec4(col, 0.0); - frag_data[1] = vec4(spec.rgb, vertex_color.a); // Occlusion, Roughness, Metal - frag_data[2] = vec4(encode_normal(tnorm), vertex_color.a, GBUFFER_FLAG_HAS_PBR); // - frag_data[3] = vec4(emissive,0); // Emissive + frag_data[1] = vec4(spec.rgb, vertex_color.a); // Occlusion, Roughness, Metal + frag_data[2] = vec4(encode_normal(tnorm), vertex_color.a, GBUFFER_FLAG_HAS_PBR); // normal, environment intensity, flags + frag_data[3] = vec4(emissive,0); // Emissive } -- cgit v1.2.3