diff --git a/resources/shaders/screen.vs.sc b/resources/shaders/screen.vs.sc index 67b2b950..3408cc80 100644 --- a/resources/shaders/screen.vs.sc +++ b/resources/shaders/screen.vs.sc @@ -1,10 +1,11 @@ $input a_position, a_texcoord0 $output v_position, v_texcoord0 +#include + void main() { v_texcoord0 = a_texcoord0; v_position = a_position; - gl_Position = vec4(a_position.x, a_position.y, 0.0, 1.0); + gl_Position = vec4(a_position.xy, 0.0, 1.0); } -