Skip to content

Commit

Permalink
[resources/shaders/screen] Small improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unarelith committed Oct 29, 2023
1 parent b4cb504 commit 8c0d548
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/shaders/screen.vs.sc
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
$input a_position, a_texcoord0
$output v_position, v_texcoord0

#include <bgfx_shader.sh>

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);
}

0 comments on commit 8c0d548

Please sign in to comment.