forked from AuroraMiddleware/gtk
55537cccbd
Having the shaders inlined as C strings makes them harder to edit and maintain.
14 lines
150 B
GLSL
14 lines
150 B
GLSL
#version 150
|
|
|
|
uniform sampler2D map;
|
|
|
|
in vec2 position;
|
|
in vec2 uv;
|
|
|
|
out vec2 vUv;
|
|
|
|
void main() {
|
|
gl_Position = vec4(position, 0, 1);
|
|
vUv = uv;
|
|
}
|