Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- precision mediump float;
- attribute vec3 vertPosition;
- attribute vec2 vertTexCoord;
- varying vec2 fragTexCoord;
- uniform mat4 mWorld;
- uniform mat4 mView;
- uniform mat4 mProj;
- void main()
- {
- fragTexCoord = vertTexCoord;
- gl_Position = mProj * mView * mWorld * vec4(vertPosition, 1.0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement