- #version 430
- layout (location = 0) in vec3 position;
- layout (location = 1) in vec4 color;
- layout (location = 2) in vec2 textureCoord;
- layout (location = 3) in vec3 normal;
- out vec2 varTextureCoord;
- void main(void)
- {
- gl_Position = vec4(position, 1.0);
- varTextureCoord = textureCoord;
- }
|