From 6714fc8b00c8a203e876b0ebcc9dd0a07a7c800e Mon Sep 17 00:00:00 2001 From: 0scar Date: Tue, 25 Mar 2025 21:21:51 +0100 Subject: Apply MVP transformation --- resources/quad.vert | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/quad.vert') diff --git a/resources/quad.vert b/resources/quad.vert index 4aaf59c..7e5ead0 100644 --- a/resources/quad.vert +++ b/resources/quad.vert @@ -9,8 +9,8 @@ uniform mat4 MVP; void main() { gl_Position = - //MVP * vec4( pos.x, 1, pos.y, 1); - vec4(pos.x, 1.0, pos.y, 1.0); + MVP * vec4( pos.x, 1, pos.y, 1); + //vec4(pos.x, 1.0, pos.y, 1.0); fragColor.x = gl_Position.x; fragColor.y = gl_Position.y; -- cgit v1.3