123456789101112131415 |
- #version 300 es
- layout (location = 0) in vec3 aPos;
- layout (location = 1) in vec2 tCoords;
- layout (location = 2) in vec3 tNorm;
- out vec2 tcoords;
- out vec3 tnorm;
- void main() {
- tcoords = tCoords;
- tnorm = tNorm;
- gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);
- }
|