Files
runelite/runelite-client/src
Runemoro 8c00f6da88 gpu: replace toScreen function with a projection matrix
The face sorting still requires the toScreen function to match exactly
the same order that would be computed on CPU, but for the projection for
rendering we can simplify it by replacing it with a projection matrix.

This also drops the requirement of having a geometry shader to remove
faces too close to or behind the camera. Upon closer inspection it looks
like the client can draw faces which have at least one vertex which is
>= 50 from the camera, so this now more accurately reflects the software
renderer.

Co-authored-by: Adam <Adam@sigterm.info>
2020-09-25 12:26:02 -04:00
..