aboutsummaryrefslogtreecommitdiff
path: root/shaders/glsl100/base.vs
blob: 9f339382bd426d6274494ee469ac2e1726391c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
}