Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 330 core
- /* Input from vertex shader */
- in vec2 vtxCoord;
- /* Output to OpenGL */
- out vec4 FragColor;
- uniform sampler2D textureSampler0;
- void main()
- {
- FragColor = texture(textureSampler0, vtxCoord);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement