Search the Community
Showing results for tags 'DropShadowFilter'.
-
I can't get the DropShadowFilter to work with my images. Is this the correct way to do it? var shadow = new PIXI.filters.DropShadowFilter();shadow.color = 0x0000;shadow.distance = 5;shadow.alpha = 0.55;shadow.angle = 45;shadow.blur = 5;Spr = new PIXI.Sprite(PIXI.loader.resources.Sheet1.textures['button.png']);Spr.filters = [shadow];Only the sprite is shown -no filter attached though. Using Firefox 40.0.3, Win7, WebGLRenderer.