Skip to content

Commit 83a6cd5

Browse files
authored
Merge pull request #185 from cortex-command-community/post-process-shader-fix
fix flipped postprocess uvs
2 parents 077e597 + 93b3724 commit 83a6cd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Data/Base.rte/Shaders/PostProcess.vert

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ uniform mat4 rteProjection;
1111

1212
void main() {
1313
gl_Position = rteProjection * rteTransform * vec4(rteVertexPosition, 0.0, 1.0);
14-
textureUV = rteTexUV;
15-
}
14+
textureUV = vec2(rteTexUV.x, -rteTexUV.y);
15+
}

0 commit comments

Comments
 (0)