Descriptive Problem Summary:
When dealing with very small icons being shrunk via transformed it appears the color var gets lost due to anti aliasing?
I should point out the top example is a 2x2 pixel image spammed (akin to ms paint) I did this to make it easier to see. The bottom is a 1x1, the smaller scale version is shrinking the "brush" to half.
Numbered Steps to Reproduce Problem:
Take a 1x1 pixel and multiply it's transform var by 0.5 while it has a color applied to it. Even it's overlays colors are also lost; instead of becoming white the pre-color color it becomes black, so I assume this is related to but not exactly: http://www.byond.com/ forum/?post=1376121&hl=color#comment6560211
ID:1579161
May 20 2014, 9:07 pm
|
|||||||||||||
| |||||||||||||
May 21 2014, 5:59 am
|
|
Does this appear in hardware mode, software mode, or both? And do you have a test project ready to go that would make this easy to test?
|
A test demo:
With hardware mode disabled the 1-point one vanishes completely. |
I'll take a look at this later on. It's not surprising that software mode would cause the few pixels to disappear; it does not antialias transforms.
My hunch is that the behavior you're seeing in hardware mode, however, may be based on a naive interpolation in your video card and might vary by system. If that's the case, the fix applied to ID:1376121 might be something I can adjust. |