summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2023-01-02 05:38:29 -0800
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2023-01-02 05:38:29 -0800
commit003e34190f314cd159f8ec227ef32c2400e90f48 (patch)
tree08b7cd8b9b007251382a2c2f94374eec2920bdf0 /indra/newview/app_settings/shaders
parent40799b97c188bb3c0a4b2d00a35bcc41be461f08 (diff)
Refactor post processing a smidge
Fixes SL-18484.
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rw-r--r--indra/newview/app_settings/shaders/class1/interface/glowcombineV.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/interface/glowcombineV.glsl b/indra/newview/app_settings/shaders/class1/interface/glowcombineV.glsl
index e08284f762..71fa095505 100644
--- a/indra/newview/app_settings/shaders/class1/interface/glowcombineV.glsl
+++ b/indra/newview/app_settings/shaders/class1/interface/glowcombineV.glsl
@@ -35,7 +35,7 @@ VARYING vec2 vary_texcoord1;
void main()
{
gl_Position = vec4(position.xyz, 1.0);
- vary_texcoord0 = texcoord0;
- vary_texcoord1 = texcoord1;
+ vary_texcoord0 = position.xy * 0.5 + 0.5;
+ vary_texcoord1 = vary_texcoord0;
}