diff options
Diffstat (limited to 'examples/resources/shaders/glsl330/base.vs')
| -rw-r--r-- | examples/resources/shaders/glsl330/base.vs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/resources/shaders/glsl330/base.vs b/examples/resources/shaders/glsl330/base.vs index 04f50db..c6e94f6 100644 --- a/examples/resources/shaders/glsl330/base.vs +++ b/examples/resources/shaders/glsl330/base.vs @@ -16,10 +16,10 @@ out vec4 fragColor; // NOTE: Add here your custom variables void main() { - // Send vertex attributes to fragment shader - fragTexCoord = vertexTexCoord; - fragColor = vertexColor; + // Send vertex attributes to fragment shader + fragTexCoord = vertexTexCoord; + fragColor = vertexColor; - // Calculate final vertex position - gl_Position = mvp * vec4( vertexPosition, 1.0 ); + // Calculate final vertex position + gl_Position = mvp * vec4( vertexPosition, 1.0 ); }
\ No newline at end of file |
