Skip to content
Snippets Groups Projects
Commit 81ebb4d6 authored by Tony Wasserka's avatar Tony Wasserka
Browse files

Pica/TextureEnvironment: Add a note.

parent e11fb964
No related branches found
No related tags found
No related merge requests found
......@@ -277,6 +277,10 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0,
return 0;
}
};
// Textures are laid out from bottom to top, hence we invert the t coordinate.
// NOTE: This may not be the right place for the inversion.
// TODO: Check if this applies to ETC textures, too.
s = GetWrappedTexCoord(texture.config.wrap_s, s, texture.config.width);
t = texture.config.height - 1 - GetWrappedTexCoord(texture.config.wrap_t, t, texture.config.height);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment