Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 330 core
- layout (location = 0) in vec3 Position;
- layout (location = 1) in vec2 TexCoord;
- layout (location = 2) in vec3 Normal;
- out VS_OUTPUT {
- vec2 TexCoord;
- } OUT;
- uniform mat4 projMtx;
- uniform mat4 mdlvMtx;
- void main()
- {
- vec4 pos = mdlvMtx * vec4(Position, 1.0);
- gl_Position = projMtx * pos;
- OUT.TexCoord = TexCoord;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement