Skip to content

Commit

Permalink
Remove old varying from CB vertex shader.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Dec 6, 2012
1 parent 28efcbc commit 162ea31
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Source/Shaders/CentralBodyVS.glsl
@@ -1,6 +1,5 @@
attribute vec3 position3D;
attribute vec2 textureCoordinates;
attribute float waterMask;

uniform float u_morphTime;

Expand All @@ -16,7 +15,6 @@ varying vec3 v_positionMC;
varying vec3 v_positionEC;

varying vec2 v_textureCoordinates;
varying float v_waterMask;

// These functions are generated at runtime.
vec4 getPosition(vec3 position3DWC);
Expand Down Expand Up @@ -87,5 +85,4 @@ void main()
v_positionEC = (czm_modelView * vec4(position3DWC, 1.0)).xyz;
v_positionMC = position3DWC; // position in model coordinates
v_textureCoordinates = textureCoordinates;
v_waterMask = waterMask;
}

0 comments on commit 162ea31

Please sign in to comment.