3D walls in a 2D top-down game?

Hi, for a while I’ve been trying to figure out how to get this effect to work.


In my game, one can rotate the top down camera, but i want 3d walls like seen in this picture. I’ve tried tilting the camera 45 degrees, and this works. Almost. Since its rotated, it also squishes everything, and I couldn’t find a way to rescale the output.

1 Like


By the way, this is what i meant by everything being squished with the approach i mentioned above

Edit: solved this by using a custom projection matrix