This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
csce441pine64backup/L15/resources/tex_vert.glsl
2017-04-10 17:50:27 -05:00

13 lines
199 B
GLSL

#version 120
attribute vec4 vertPos;
attribute vec2 vertTex;
uniform mat4 P;
uniform mat4 MV;
varying vec2 fragTexCoords;
void main()
{
gl_Position = P * MV * vertPos;
fragTexCoords = vertTex;
}