protot/data/shaders/vs_passthrough.glsl

12 lines
143 B
Plaintext
Raw Permalink Normal View History

2018-03-15 11:01:55 +01:00
#version 150 core
2018-02-13 14:27:16 +01:00
2018-03-15 11:01:55 +01:00
in vec4 inCoord;
in vec2 inUV;
2018-02-13 14:27:16 +01:00
2018-04-05 12:39:30 +02:00
out vec2 ioFragTexCoords;
2018-02-13 14:27:16 +01:00
void main() {
2018-04-05 12:39:30 +02:00
ioFragTexCoords = inUV;
2018-03-15 11:01:55 +01:00
gl_Position = inCoord;
2018-02-13 14:27:16 +01:00
}