Fixed full screen blitting, blend with sky

This commit is contained in:
mcrcortex
2025-08-29 15:50:01 +10:00
parent 0d09f4c11f
commit f3fa371ef9
4 changed files with 20 additions and 6 deletions

View File

@@ -2,6 +2,6 @@
out vec2 UV;
void main() {
gl_Position = vec4(vec2(gl_VertexID&1, (gl_VertexID>>1)&1) * 4 - 1, 0.99999999999f, 1);
gl_Position = vec4(vec2(gl_VertexID&1, (gl_VertexID>>1)&1) * 2 - 1, 0.99999999999f, 1);
UV = gl_Position.xy*0.5+0.5;
}

View File

@@ -2,6 +2,6 @@
out vec2 UV;
void main() {
gl_Position = vec4(vec2(gl_VertexID&1, (gl_VertexID>>1)&1) * 4 - 1, 1.0f, 1);
gl_Position = vec4(vec2(gl_VertexID&1, (gl_VertexID>>1)&1) * 2 - 1, 1.0f, 1);
UV = gl_Position.xy*0.5+0.5;
}