SL-13465 Remove hack offset of moon when AS is ON to match when AS is OFF.

master
Ptolemy 2020-09-11 19:07:14 -07:00
parent 98578ddc79
commit f677b4187b
2 changed files with 2 additions and 4 deletions

View File

@ -37,8 +37,7 @@ void calcAtmospherics(vec3 eye_pos);
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;

View File

@ -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;