mirror of
https://github.com/SFML/SFML.git
synced 2025-02-19 06:39:59 +08:00
12 lines
217 B
GLSL
12 lines
217 B
GLSL
#version 150
|
|
|
|
in vec2 positionAttribute;
|
|
|
|
uniform mat4 modelViewProjectionMatrix;
|
|
|
|
void main()
|
|
{
|
|
// Transform the vertex position
|
|
gl_Position = modelViewProjectionMatrix * vec4(positionAttribute, 0.0, 1.0);
|
|
}
|