Dicewars-Siedler/assets/shaders/vertexShader.glsl
2026-02-07 17:52:52 +01:00

15 lines
246 B
GLSL

#version 400 core
in vec3 position;
in vec2 textureCoords;
out vec2 pass_textureCoords;
uniform mat4 transformationMatrix;
void main()
{
gl_Position = transformationMatrix * vec4(position, 1.0f);
pass_textureCoords = textureCoords;
}