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

OutlineFilter shows strange artifacts

$
0
0

Hello,

first of all: I recently started using PIXI.js, and it's great! Big thanks to developers for their wonderful work.

I'm using the OutlineFilter from the pixi-extra-filters repository, and while it works great most of the time, I sometimes get strange artifacts. I'm using it on Sprites with textures from a single .png (outer areas are allways fully transparent) as well as on MovieClips, and sometimes the very border of the Sprite / MovieClip gets an outline, even though it is fully transparent there. These false outlines are allways on the right and/or lower border (never top or left), and all Sprites / MovieClips with the same size are affected (I have attached an image, you can see the false outline below the sprite). They don't allways appear, but often enough to be a problem.

I tried playing with the value of Filter.padding, but to no effect. 

Has anybody else encountered this problem? What did you do?

I'm on PIXI.js v4.0.3

Thank you very much!

 

false_outline.png


Viewing all articles
Browse latest Browse all 3980

Trending Articles



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