From 5cf5aa44cabf9bc142551e568c2e69954d06640f Mon Sep 17 00:00:00 2001 From: Ptolemy Date: Fri, 24 Jun 2022 16:13:44 -0700 Subject: SL-17274: PBR: Fix typo of commit 4e1a4e80e4 --- indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/app_settings') diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl index 8cbb62b301..e4be88926f 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl @@ -28,7 +28,7 @@ #define DEBUG_BASIC 0 #define DEBUG_VERTEX 0 #define DEBUG_NORMAL_RAW 0 // Output packed normal map "as is" to diffuse -#dfeine DEBUG_NORMAL_OUT 0 // Output unpacked normal to diffuse +#define DEBUG_NORMAL_OUT 0 // Output unpacked normal to diffuse #define DEBUG_POSITION 0 uniform sampler2D diffuseMap; //always in sRGB space @@ -137,7 +137,7 @@ void main() col.rgb = vary_position.xyz; #endif - frag_data[0] = vec4(col, 0.0); + frag_data[0] = vec4(col, 0.0); // Diffuse 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