summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/windlight
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2020-09-11 19:07:14 -0700
committerPtolemy <ptolemy@lindenlab.com>2020-09-11 19:07:14 -0700
commitf677b4187b1c8b4e6633bc8a39ef4cc9ca7577bf (patch)
tree7efdcc8cc13b43c5826004c0c0372bb8d83ae132 /indra/newview/app_settings/shaders/class1/windlight
parent98578ddc7943ddcc4dfb4c3c4faaf91e68170b11 (diff)
SL-13465 Remove hack offset of moon when AS is ON to match when AS is OFF.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/windlight')
-rw-r--r--indra/newview/app_settings/shaders/class1/windlight/moonV.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/windlight/moonV.glsl b/indra/newview/app_settings/shaders/class1/windlight/moonV.glsl
index 8cd4b2ef47..c4cdd06e28 100644
--- a/indra/newview/app_settings/shaders/class1/windlight/moonV.glsl
+++ b/indra/newview/app_settings/shaders/class1/windlight/moonV.glsl
@@ -37,8 +37,7 @@ VARYING vec2 vary_texcoord0;
void main()
{
//transform vertex
- vec3 offset = vec3(0, 0, 50);
- vec4 vert = vec4(position.xyz - offset, 1.0);
+ vec4 vert = vec4(position.xyz, 1.0);
vec4 pos = (modelview_matrix * vert);
gl_Position = modelview_projection_matrix*vert;