From f49579ad25128b643f62115d9df249788d77d435 Mon Sep 17 00:00:00 2001 From: Ptolemy Date: Tue, 5 Jul 2022 20:06:37 -0700 Subject: SL-17682: PBR: Cleanup debug flags to view raw normal map as-is --- indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/app_settings/shaders/class1') diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl index e4be88926f..6e96186c18 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl @@ -27,7 +27,7 @@ #define DEBUG_BASIC 0 #define DEBUG_VERTEX 0 -#define DEBUG_NORMAL_RAW 0 // Output packed normal map "as is" to diffuse +#define DEBUG_NORMAL_MAP 0 // Output packed normal map "as is" to diffuse #define DEBUG_NORMAL_OUT 0 // Output unpacked normal to diffuse #define DEBUG_POSITION 0 @@ -127,7 +127,7 @@ void main() #if DEBUG_VERTEX col.rgb = vertex_color.rgb; #endif -#if DEBUG_NORMAL_RAW +#if DEBUG_NORMAL_MAP col.rgb = texture2D(bumpMap, vary_texcoord1.xy).rgb; #endif #if DEBUG_NORMAL_OUT -- cgit v1.2.3