Dicewars-Siedler/assets/shaders/vertexShader.glsl
2026-02-07 18:19:25 +01:00

16 lines
296 B
GLSL

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