summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/pbrglowF.glsl
diff options
context:
space:
mode:
authorcosmic-linden <111533034+cosmic-linden@users.noreply.github.com>2023-02-27 10:16:48 -0800
committerGitHub <noreply@github.com>2023-02-27 10:16:48 -0800
commit9601abba55bbe92ba2202120c6cb4334e3073d41 (patch)
tree2ab2c93d94fef567d60c1a8809a0a43099dcf933 /indra/newview/app_settings/shaders/class1/deferred/pbrglowF.glsl
parent4ec8844f012f27ddd0ab9aa6a3098273c7bb0ac1 (diff)
parent7a533f368231c7e1135891c05e03412d0fdb9fdb (diff)
Merge pull request #92 from secondlife/SL-19262
SL-19265: Fix precision issue with texture transforms, separate texture animations
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/pbrglowF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/pbrglowF.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/pbrglowF.glsl b/indra/newview/app_settings/shaders/class1/deferred/pbrglowF.glsl
index 8dc9e02f7a..1c36aa6b50 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/pbrglowF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/pbrglowF.glsl
@@ -37,7 +37,7 @@ out vec4 frag_color;
in vec3 vary_position;
in vec4 vertex_emissive;
-in vec2 basecolor_texcoord;
+in vec2 base_color_texcoord;
in vec2 emissive_texcoord;
uniform float minimum_alpha; // PBR alphaMode: MASK, See: mAlphaCutoff, setAlphaCutoff()
@@ -47,7 +47,7 @@ vec3 srgb_to_linear(vec3 c);
void main()
{
- vec4 basecolor = texture2D(diffuseMap, basecolor_texcoord.xy).rgba;
+ vec4 basecolor = texture2D(diffuseMap, base_color_texcoord.xy).rgba;
if (basecolor.a < minimum_alpha)
{