Dealman Posted January 8, 2015 Posted January 8, 2015 I haven't really had to rotate images before, but now I do and it does not work well. No matter how I size or design my image and try to rotate it, be it a cricle or be it a rectangle - it always get really nasty white along its edges. I do not get those artifacts at angles such as 0/90/180 and so on... Is there any way to prevent this from happening? I've tried all texture edge methods but they do absolutely nothing to remedy this. Edit: Meh, figured it out right after I posted this. I had made a typo and saved it as 255x256 instead of 256x256. Well at least it's there if someone else gets the same thing happening If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
Moderators IIYAMA Posted January 8, 2015 Moderators Posted January 8, 2015 Use at least the "clamp" method. I also recommend you not to scaling your image. Just use the download-function to download the image which is matching the resolution, like a responsive website. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Dealman Posted January 8, 2015 Author Posted January 8, 2015 Use at least the "clamp" method. I also recommend you not to scaling your image. Just use the download-function to download the image which is matching the resolution, like a responsive website. I tried using that method as it was recommended in the Wiki, but it made absolutely no difference. The issue was that the image was not in a power of two. Scaling it looks fine. If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
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