Alex_Matveev Posted April 3, 2015 Share Posted April 3, 2015 If used filter texture render is empty. Can I render sprite to texture after used filter? (this.metersAsset.filters = [new PIXI.BlurFilter()]var textTirget = new PIXI.DisplayObjectContainer();this.renderTexture = new PIXI.RenderTexture(500, 500);var renderSprite = new PIXI.Sprite(this.renderTexture);textTirget.addChild(renderSprite);this.metersAsset = new PIXI.Sprite(PIXI.Texture.fromFrame("meters.png"));this.metersAsset.filters = [new PIXI.BlurFilter()];this.doc = new PIXI.DisplayObjectContainer();this.doc.addChild(this.metersAsset);this.renderTexture.render(this.doc);textTirget.position.x = 0;textTirget.position.y = 0;this.target.addChild(textTirget); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.