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/L09/resources/vert.glsl
2017-04-10 17:45:21 -05:00

18 lines
225 B
GLSL

#version 120
uniform mat4 P;
uniform mat4 MV;
uniform mat3 T1;
attribute vec4 aPos;
attribute vec2 aTex;
varying vec2 vTex0;
varying vec2 vTex1;
void main()
{
gl_Position = P * MV * aPos;
vTex0 = aTex;
vTex1 = aTex;
}