[]滤镜GlowFilter

image.filters = [new GlowFilter("#ff0000",4,4,4)];给图片添加滤镜不好用?
已邀请:

cuixueying

赞同来自:

滤镜除了颜色colorFilter外,其他滤镜必须是webGL模式,否则无效
Laya.init(600,400,WebGL);
var sp:Sprite=new Sprite();
sp.loadImage("Pages.png",0,0,0,0);
Laya.stage.addChild(sp);
sp.filters = [new GlowFilter("#ff0000",10,10,10)];

要回复问题请先

商务合作
商务合作