Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 150
- in vec3 Position;
- in vec2 UV0;
- in vec4 Color;
- uniform mat4 ModelViewMat;
- uniform mat4 ProjMat;
- out vec2 texCoord0;
- out vec4 vertexColor;
- out vec4 Pos;
- void main() {
- gl_Position = ProjMat * ModelViewMat * vec4(Position, 1.0);
- Pos = ModelViewMat * vec4(1);
- texCoord0 = UV0;
- vertexColor = Color;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement