mirror of https://github.com/Minestom/Minestom.git
Use vertically flipped UV in shader
This commit is contained in:
parent
b08c1d6898
commit
48d967b89f
|
@ -10,7 +10,7 @@ uniform float paletteSize;
|
|||
void main() {
|
||||
vec2 uv = fragCoords;
|
||||
uv.y = -uv.y;
|
||||
vec3 fragmentColor = texture(frame, fragCoords).rgb;
|
||||
vec3 fragmentColor = texture(frame, uv).rgb;
|
||||
|
||||
// render in map colors
|
||||
int closest = 0;
|
||||
|
|
Loading…
Reference in New Issue