summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-07-05 20:06:37 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-07-05 20:06:37 -0700
commitf49579ad25128b643f62115d9df249788d77d435 (patch)
tree135c7c1d67cdb338419dd42390c978c70217f170 /indra/newview/app_settings/shaders/class1
parent7537b3d5456f989859142d1d3340dae65d407cef (diff)
SL-17682: PBR: Cleanup debug flags to view raw normal map as-is
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl4
1 files changed, 2 insertions, 2 deletions
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