From 8ea47a5502fbc8389ba45e3bed1088f16f7ba92b Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 21 Apr 2024 14:12:56 -0400 Subject: [PATCH] Make a note why there's no UV coordinates for the plane vertices --- renderer/src/rendersystem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/renderer/src/rendersystem.cpp b/renderer/src/rendersystem.cpp index c188227..e925dba 100644 --- a/renderer/src/rendersystem.cpp +++ b/renderer/src/rendersystem.cpp @@ -17,6 +17,7 @@ #include // TODO: maybe need UV? +// note: SQEX passes the vertice positions as UV coordinates (yes, -1 to 1.) the shaders then transform them back with the g_CommonParameter.m_RenderTarget vec4 const std::vector planeVertices = { {-1.0f, -1.0f, 0.0f, 1.0f}, {1.0f, -1.0f, 0.0f, 1.0f},