Overkillz Posted November 13, 2016 Share Posted November 13, 2016 Hey dear community, some days ago, I wanted to do a rounded image using a formula, however, I really don't know how to do it. Let me explain better, I have an image which is a rectangle, well, so, I want to convert it on a circle using a function like dxDrawImageSection or another one which help me to do it. Please, don't tell me to use Photoshop because it won't be just an image, I will use a system to get an image and later round it. Thanks for reading, regads. Link to comment
Captain Cody Posted November 13, 2016 Share Posted November 13, 2016 This can be done using shaders. This has a pretty good example https://nightly.multitheftauto.com/files/shaders/shader_hud_mask.zip 1 Link to comment
Overkillz Posted November 13, 2016 Author Share Posted November 13, 2016 Thanks man, I've got it how does it work now. Regards # You can close the topic. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now