HaxePunk / SpinePunk

HaxePunk renderer for the Haxe Spine runtime
20 stars 1 forks source link

Graphic.smooth Bitmap.smoothing #3

Closed theRemix closed 10 years ago

theRemix commented 10 years ago

It does not look like graphic.smooth is rendering with anti-aliasing

This is how it's supposed to look spine

This is how it renders in HaxePunk -neko screenshot

animated

bendmorris commented 10 years ago

I must be psychic or something, because I was just dealing with this yesterday.

In HaxePunk, texture atlas smoothing is controlled by a single static variable, com.haxepunk.graphics.atlas.Atlas.smooth. It's false by default, so antialiasing won't be used.

I submitted a pull request to give per-graphic control over smoothing, making native smoothing more consistent with Flash.

https://github.com/HaxePunk/HaxePunk/pull/271

theRemix commented 10 years ago

works for me, thanks!