diff --git a/Runtime/Graphics/CLineRendererShadersGLSL.cpp b/Runtime/Graphics/CLineRendererShadersGLSL.cpp index 9423be71f..25167eb2b 100644 --- a/Runtime/Graphics/CLineRendererShadersGLSL.cpp +++ b/Runtime/Graphics/CLineRendererShadersGLSL.cpp @@ -27,7 +27,7 @@ BOO_GLSL_BINDING_HEAD "{\n" " vtf.color = colorIn * moduColor;\n" " vtf.uv = uvIn.xy;\n" -" gl_Position = posIn;\n" +" gl_Position = FLIPFROMGL(posIn);\n" "}\n"; static const char* FS_GLSL_TEX = @@ -67,7 +67,7 @@ BOO_GLSL_BINDING_HEAD "void main()\n" "{\n" " vtf.color = colorIn * moduColor;\n" -" gl_Position = posIn;\n" +" gl_Position = FLIPFROMGL(posIn);\n" "}\n"; static const char* FS_GLSL_NOTEX = diff --git a/Runtime/Graphics/CMoviePlayer.cpp b/Runtime/Graphics/CMoviePlayer.cpp index dadb3bfda..5e50aed16 100644 --- a/Runtime/Graphics/CMoviePlayer.cpp +++ b/Runtime/Graphics/CMoviePlayer.cpp @@ -27,6 +27,7 @@ SPECTER_GLSL_VIEW_VERT_BLOCK " vtf.uv = uvIn;\n" " vtf.color = mulColor;\n" " gl_Position = mv * vec4(posIn, 1.0);\n" +" gl_Position = FLIPFROMGL(gl_Position);\n" "}\n"; static const char* FS_GLSL_YUV = diff --git a/Runtime/Particle/CElementGenShadersGLSL.cpp b/Runtime/Particle/CElementGenShadersGLSL.cpp index 2888c726e..9c8196172 100644 --- a/Runtime/Particle/CElementGenShadersGLSL.cpp +++ b/Runtime/Particle/CElementGenShadersGLSL.cpp @@ -100,6 +100,7 @@ BOO_GLSL_BINDING_HEAD " vtf.uvTexr = uvsInTexrTind[gl_VertexID].xy;\n" " vtf.uvTind = uvsInTexrTind[gl_VertexID].zw;\n" " gl_Position = mvp * posIn[gl_VertexID];\n" +" gl_Position = FLIPFROMGL(gl_Position);\n" "}\n"; static const char* FS_GLSL_INDTEX = diff --git a/hecl b/hecl index 360af21c0..b43709fc0 160000 --- a/hecl +++ b/hecl @@ -1 +1 @@ -Subproject commit 360af21c0d1f1f56554520c6ccf50d2e93a344ae +Subproject commit b43709fc030beca9ebc212fda3051087d1407714 diff --git a/specter b/specter index f81bd59b9..6fd07871e 160000 --- a/specter +++ b/specter @@ -1 +1 @@ -Subproject commit f81bd59b923e830c76537306b8eda7d8fc955666 +Subproject commit 6fd07871e9af57847c21f8eed9f3f4a6c0179a84