14 lines
186 B
V Shell
14 lines
186 B
V Shell
#version 130
|
|
|
|
attribute vec3 vertex;
|
|
attribute vec2 uv;
|
|
|
|
varying vec2 texCoord;
|
|
|
|
uniform mat4 projMat;
|
|
|
|
void main() {
|
|
texCoord = uv;
|
|
gl_Position = projMat * vec4(vertex, 1.0);
|
|
}
|