ecsancho Posted May 22, 2018 Share Posted May 22, 2018 Hi I was wondering if there was a way to temporarily pause a custom filter from executing shader code? I'm thinking if setting sprite.visible = false should do the trick, not sure. Or should I pass a uniform to not execute calculation or is this even a concern? Thanks! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 22, 2018 Share Posted May 22, 2018 if its applied to that sprite, just make `sprite.renderable=false` or `sprite.visible=false` or even `sprite.alpha=0`. Consult the docs if you want to know the difference. Both are fine. ecsancho 1 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.