Posted January 16, 2025 by Daniel Ilett
Hey all! In the latest version of Retro Shaders Pro, you're no longer constrained to only a toggle for affine texture mapping. Now, you can blend between affine UVs and perspective-correct UVs!
If you're not sure what this means for your games, essentially, the warping effect seen on large triangles close to the camera can be toned down a bit. Here's full-strength affine texture mapping (with wireframes to show the size of the triangles):
That's very warped! And here's the new option at half-strength:
It's still warped, as you can see from the bent line in the texture along one of the diagonals, but clearly less strongly than the first example.
If you're a purist and you're looking for the authentic PSX experience, then you can keep this setting at maximum and use the actual techniques developers used to avoid this issue, like subdividing the mesh to use smaller triangles.
Thanks for using Retro Shaders Pro!