gl01/internal/asset/shader/world.vert

13 lines
199 B
GLSL
Raw Normal View History

2022-01-20 21:58:50 +08:00
#version 330
2022-01-22 23:06:41 +08:00
layout (location = 0) in vec2 vert;
layout (location = 1) in vec2 texCoord;
2022-01-20 21:58:50 +08:00
2022-01-22 23:06:41 +08:00
out vec2 fragPosScreen;
2022-01-20 21:58:50 +08:00
void main() {
2022-01-22 23:06:41 +08:00
gl_Position = vec4(vert, 0.0f, 1);
fragPosScreen = texCoord;
2022-01-20 21:58:50 +08:00
}