diff options
Diffstat (limited to 'shaders/glsl100/base.vs')
| -rw-r--r-- | shaders/glsl100/base.vs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/shaders/glsl100/base.vs b/shaders/glsl100/base.vs new file mode 100644 index 00000000..9f339382 --- /dev/null +++ b/shaders/glsl100/base.vs @@ -0,0 +1,20 @@ +#version 100 + +attribute vec3 vertexPosition; +attribute vec2 vertexTexCoord; +attribute vec3 vertexNormal; + +varying vec2 fragTexCoord; + +uniform mat4 mvpMatrix; + +// NOTE: Add here your custom variables + +void main() +{ + vec3 normal = vertexNormal; + + fragTexCoord = vertexTexCoord; + + gl_Position = mvpMatrix*vec4(vertexPosition, 1.0); +}
\ No newline at end of file |
