mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:20:04 +00:00
11 lines
206 B
GLSL
11 lines
206 B
GLSL
#version 330 core
|
|
layout (location = 0) in vec4 vertex;
|
|
out vec2 texCoords;
|
|
|
|
uniform mat4 projection;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = projection * vec4(vertex.xy, 0.0f, 1.0f);
|
|
texCoords = vertex.zw;
|
|
}
|