summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2023-02-24 09:27:19 -0800
committerCosmic Linden <cosmic@lindenlab.com>2023-02-24 09:27:19 -0800
commita7ecfc9b1907d6ecd5fe50aeb1c41e38540b2665 (patch)
tree21040a7d709dbdb9c5df1867edddebf7478d33b2 /indra/newview/app_settings/shaders/class2/deferred
parent6494eed242b1cf64160e379c6d40df333deae23a (diff)
SL-19228: Remove DEBUG_TEXCOORD
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/pbralphaF.glsl14
1 files changed, 0 insertions, 14 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/pbralphaF.glsl b/indra/newview/app_settings/shaders/class2/deferred/pbralphaF.glsl
index 47d6c5e195..35ccc65a8e 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/pbralphaF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/pbralphaF.glsl
@@ -57,9 +57,6 @@ in vec2 basecolor_texcoord;
in vec2 normal_texcoord;
in vec2 metallic_roughness_texcoord;
in vec2 emissive_texcoord;
-#if DEBUG_TEXCOORD
-in vec2 original_texcoord;
-#endif
in vec4 vertex_color;
@@ -176,10 +173,6 @@ void main()
#endif
vec3 col = vertex_color.rgb * basecolor.rgb;
-#if DEBUG_TEXCOORD
- vec3 texcoord_color = vec3(mod(original_texcoord, 1.0), 0);
- col = texcoord_color;
-#endif
vec3 vNt = texture(bumpMap, normal_texcoord.xy).xyz*2.0-1.0;
float sign = vary_sign;
@@ -272,9 +265,6 @@ in vec3 vary_position;
in vec2 basecolor_texcoord;
in vec2 emissive_texcoord;
-#if DEBUG_TEXCOORD
-in vec2 original_texcoord;
-#endif
in vec4 vertex_color;
@@ -302,10 +292,6 @@ void main()
#endif
color = vertex_color.rgb * basecolor.rgb;
-#if DEBUG_TEXCOORD
- vec3 texcoord_color = vec3(mod(original_texcoord, 1.0), 0);
- color = texcoord_color;
-#endif
// emissiveColor is the emissive color factor from GLTF and is already in linear space
vec3 colorEmissive = emissiveColor;