• How to make a circular radar image from a RenderTarget
    4 replies, posted
I've been working on a server for someone here, and one of the things we need is a Stalker-like radar image, which the radar is displayed in a circle, so I've been trying to have a RenderTarget capture the top of the map where LocalPlayer() is stationed, and display it at the top left of the screen of LocalPlayer(), and then have a overlay rendered on top of it. Now, I've been trying to turn the image the RenderTarget captured into a circular image, and haven't had much luck in doing so... would there be anyway to crop the image into a circle in Lua?
You're gonna have to use stencils from the render library to achieve that. It can be hard to get it to work, but there are examples on this forum.
GTA IV Radar
Every link on that thread is broken, unfortunately.
That repo was taken down though
Sorry, you need to Log In to post a reply to this thread.