summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-08-10 16:46:40 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-08-10 16:46:40 -0700
commit291350e00f40fab1072a78ea92d5ea5aafcf5d32 (patch)
treef930e7436b07dbcbcc87f0476bf11b11fd8588e5 /indra/newview/app_settings/shaders/class1
parent9d20e66a0972d1405378a44b779483dad02bcff3 (diff)
SL-17763: Cleanup debug infor for lights
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl
index e6f2c9d02b..87c1ff5517 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl
@@ -31,6 +31,7 @@
#define DEBUG_VERTEX 0
#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_ORM 0 // Output Occlusion Roughness Metal "as is" to diffuse
#define DEBUG_POSITION 0
uniform sampler2D diffuseMap; //always in sRGB space
@@ -139,6 +140,9 @@ void main()
#if DEBUG_NORMAL_OUT
col.rgb = vary_normal;
#endif
+#if DEBUG_ORM
+ col.rgb = linear_to_srgb(spec);
+#endif
#if DEBUG_POSITION
col.rgb = vary_position.xyz;
#endif