Turning Off Antialiasing?
BlitzMax Forums/BlitzMax Programming/Turning Off Antialiasing?
| ||
How do I turn antialiasing off on draws? I want crisp pixels. The application is a graphics bitmap generator for a game written in Monkey. Anywhere aliasing occurs on the it is being blended with the background as opposed to generating alphablended transparency as intended and I need that to not happen. The result is my sprite with pink halos wherever there is aliasing on the edges. An example of what I'm getting is here. ![]() |
| ||
a) generate bitmaps with alpha channel b) did you tried SetBlend MaskBlend ? c) only draw at INT-positions to avoid fractured numbers bye Ron |
| ||
if there is an image option like FILTEREDIMAGE then you need to remove that. |
| ||
My blend is ALPHABLEND. That's probably why. I had done spritesheet generators before but never with DrawLine so I guess that's why I never ran into this. Thanks, gents. MASKBLEND fixed it. My previous generators had all been using orthogonal blocks (large square pixels) and I had never noticed a problem since straight lines don't alias. |