diff options
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
3 files changed, 0 insertions, 38 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbralphaV.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbralphaV.glsl index ee44ad874c..ddb53ff852 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/pbralphaV.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/pbralphaV.glsl @@ -64,9 +64,6 @@ out vec2 basecolor_texcoord; out vec2 normal_texcoord; out vec2 metallic_roughness_texcoord; out vec2 emissive_texcoord; -#if DEBUG_TEXCOORD -out vec2 original_texcoord; -#endif out vec4 vertex_color; @@ -99,9 +96,6 @@ void main() normal_texcoord = texture_transform(texcoord0, texture_normal_matrix, texture_matrix0); metallic_roughness_texcoord = texture_transform(texcoord0, texture_metallic_roughness_matrix, texture_matrix0); emissive_texcoord = texture_transform(texcoord0, texture_emissive_matrix, texture_matrix0); -#if DEBUG_TEXCOORD - original_texcoord = texcoord0; -#endif #ifdef HAS_SKIN vec3 n = (mat*vec4(normal.xyz+position.xyz,1.0)).xyz-pos.xyz; @@ -143,9 +137,6 @@ in vec2 texcoord0; out vec2 basecolor_texcoord; out vec2 emissive_texcoord; -#if DEBUG_TEXCOORD -out vec2 original_texcoord; -#endif out vec4 vertex_color; @@ -161,9 +152,6 @@ void main() basecolor_texcoord = texture_transform(texcoord0, texture_basecolor_matrix, texture_matrix0); emissive_texcoord = texture_transform(texcoord0, texture_emissive_matrix, texture_matrix0); -#if DEBUG_TEXCOORD - original_texcoord = texcoord0; -#endif vertex_color = diffuse_color; } diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl index fd2aa6eb54..c4c5a7872b 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueF.glsl @@ -51,9 +51,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 uniform float minimum_alpha; // PBR alphaMode: MASK, See: mAlphaCutoff, setAlphaCutoff() @@ -72,10 +69,6 @@ void main() } vec3 col = vertex_color.rgb * srgb_to_linear(basecolor.rgb); -#if DEBUG_TEXCOORD - vec3 texcoord_color = vec3(mod(original_texcoord, 1.0), 0); - col = texcoord_color; -#endif // from mikktspace.com vec3 vNt = texture2D(bumpMap, normal_texcoord.xy).xyz*2.0-1.0; @@ -130,9 +123,6 @@ in vec4 vertex_color; in vec2 basecolor_texcoord; in vec2 emissive_texcoord; -#if DEBUG_TEXCOORD -in vec2 original_texcoord; -#endif uniform float minimum_alpha; // PBR alphaMode: MASK, See: mAlphaCutoff, setAlphaCutoff() @@ -148,10 +138,6 @@ void main() } vec3 col = vertex_color.rgb * srgb_to_linear(basecolor.rgb); -#if DEBUG_TEXCOORD - vec3 texcoord_color = vec3(mod(original_texcoord, 1.0), 0); - col = texcoord_color; -#endif vec3 emissive = emissiveColor; emissive *= srgb_to_linear(texture2D(emissiveMap, emissive_texcoord.xy).rgb); diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueV.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueV.glsl index aeb6b85e12..f0e3d4f034 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/pbropaqueV.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/pbropaqueV.glsl @@ -53,9 +53,6 @@ out vec2 basecolor_texcoord; out vec2 normal_texcoord; out vec2 metallic_roughness_texcoord; out vec2 emissive_texcoord; -#if DEBUG_TEXCOORD -out vec2 original_texcoord; -#endif out vec4 vertex_color; @@ -85,9 +82,6 @@ void main() normal_texcoord = texture_transform(texcoord0, texture_normal_matrix, texture_matrix0); metallic_roughness_texcoord = texture_transform(texcoord0, texture_metallic_roughness_matrix, texture_matrix0); emissive_texcoord = texture_transform(texcoord0, texture_emissive_matrix, texture_matrix0); -#if DEBUG_TEXCOORD - original_texcoord = texcoord0; -#endif #ifdef HAS_SKIN vec3 n = (mat*vec4(normal.xyz+position.xyz,1.0)).xyz-pos.xyz; @@ -123,9 +117,6 @@ in vec2 texcoord0; out vec2 basecolor_texcoord; out vec2 emissive_texcoord; -#if DEBUG_TEXCOORD -out vec2 original_texcoord; -#endif out vec4 vertex_color; @@ -138,9 +129,6 @@ void main() basecolor_texcoord = texture_transform(texcoord0, texture_basecolor_matrix, texture_matrix0); emissive_texcoord = texture_transform(texcoord0, texture_emissive_matrix, texture_matrix0); -#if DEBUG_TEXCOORD - original_texcoord = texcoord0; -#endif vertex_color = diffuse_color; } |