Post-processing should vertically flip the output

This commit is contained in:
jglrxavpok 2020-08-13 15:01:43 +02:00
parent c0aec9b8b2
commit b08c1d6898
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ uniform sampler2D palette;
uniform float paletteSize;
void main() {
vec2 uv = fragCoords;
uv.y = -uv.y;
vec3 fragmentColor = texture(frame, fragCoords).rgb;
// render in map colors