diff --git a/engine/src/core-effects/Common/MatDefs/Post/Post.vert b/engine/src/core-effects/Common/MatDefs/Post/Post.vert index 6d80905cd..a68dac5d9 100644 --- a/engine/src/core-effects/Common/MatDefs/Post/Post.vert +++ b/engine/src/core-effects/Common/MatDefs/Post/Post.vert @@ -5,6 +5,7 @@ attribute vec2 inTexCoord; varying vec2 texCoord; void main() { - gl_Position = inPosition * 2.0 - 1.0; //vec4(pos, 0.0, 1.0); + vec2 pos = (g_WorldViewProjectionMatrix * inPosition).xy; + gl_Position = vec4(pos, 0.0, 1.0); texCoord = inTexCoord; } \ No newline at end of file