diff options
Diffstat (limited to 'src/datavis3d/engine/shaders/vertexShaderTexture')
-rw-r--r-- | src/datavis3d/engine/shaders/vertexShaderTexture | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/datavis3d/engine/shaders/vertexShaderTexture b/src/datavis3d/engine/shaders/vertexShaderTexture index 19f9d617..fb23b252 100644 --- a/src/datavis3d/engine/shaders/vertexShaderTexture +++ b/src/datavis3d/engine/shaders/vertexShaderTexture @@ -11,10 +11,8 @@ varying highp vec3 position_wrld; varying highp vec3 normal_cmr; varying highp vec3 eyeDirection_cmr; varying highp vec3 lightDirection_cmr; -varying highp vec2 coords_mdl; void main() { gl_Position = MVP * vec4(vertexPosition_mdl, 1.0); - coords_mdl = vertexPosition_mdl.xy; position_wrld = (M * vec4(vertexPosition_mdl, 1.0)).xyz; vec3 vertexPosition_cmr = (V * M * vec4(vertexPosition_mdl, 1.0)).xyz; eyeDirection_cmr = vec3(0.0, 0.0, 0.0) - vertexPosition_cmr; |