Kesshi Posted November 24, 2015 Share Posted November 24, 2015 Hi,how can i disable and re-enable a single post process effect after i created it?This enabling/disabling should be as fast/efficient as possible.To have a good perfomance on slow devices i want to disable things like SSAO, FXAA during user interactions and enable it only in idle. Edit: Currently i'm using Scene.postProcessesEnabled for this and it works very well but it disables all effects at once.How can i disable a single one? Quote Link to comment Share on other sites More sharing options...
davrous Posted November 24, 2015 Share Posted November 24, 2015 Hi, Simply enable / disable them using the flag on the scene object: scene.postProcessesEnabled = false; Bye, David Quote Link to comment Share on other sites More sharing options...
Kesshi Posted November 24, 2015 Author Share Posted November 24, 2015 Hi, Simply enable / disable them using the flag on the scene object: scene.postProcessesEnabled = false; Bye, David I would like to disable only some of the effects and not all. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 24, 2015 Share Posted November 24, 2015 You can use camera.detachPostProcess 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.