minecraft-src/assets/minecraft/shaders/core/blit_screen.vsh
2025-07-04 01:41:11 +03:00

11 lines
203 B
GLSL

#version 150
in vec3 Position;
out vec2 texCoord;
void main() {
vec2 screenPos = Position.xy * 2.0 - 1.0;
gl_Position = vec4(screenPos.x, screenPos.y, 1.0, 1.0);
texCoord = Position.xy;
}