ho3/resources/shaders/texonly.vertex
Vladislav Khorev d132060e19 Resurrection
2024-06-06 16:25:38 +03:00

11 lines
209 B
Plaintext

attribute vec3 vPosition;
attribute vec2 vTexCoord;
varying vec2 texCoord;
uniform mat4 ProjectionMatrix;
void main()
{
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
texCoord = vTexCoord.st;
}