Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3981

Aliasing when shadow filter is applied

$
0
0

I'm seeing some significant aliasing artifacts when a DropShadowFilter is applied to a sprite, unless cacheAsBitmap=true. Normally wouldn't be a problem as I'd just cache it as a bitmap, however I'm seeing some display bugs related to using it.

1) has cacheAsBitmap=false, no shadows

2) has cacheAsBitmap=true, drop shadow

3) has cacheAsBitmap=false, drop shadow

Am I doing something wrong or do I need to do my own shadows?

 

Screenshot (4).png

Screenshot (3).png

Screenshot (2).png


Viewing all articles
Browse latest Browse all 3981

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>