royibernthal Posted April 22, 2018 Share Posted April 22, 2018 Can you make Post Processes render before the fullscreen GUI layer? The same way it was done for Highlight layer and for the same reasons: http://www.html5gamedevs.com/topic/36612-highlightlayer-is-in-front-of-gui/ For instance here is a PG with a GUI without a post process: http://www.babylonjs-playground.com/#A9EWEQ Here's that same PG with a post process, the GUI is affected by it: http://www.babylonjs-playground.com/#A9EWEQ#1 Quote Link to comment Share on other sites More sharing options...
Guest Posted April 25, 2018 Share Posted April 25, 2018 You can use a multicamera approach like here: https://www.babylonjs-playground.com/#Y3C0HQ#146 Just make sure to affect the layer masks accordingly Quote Link to comment Share on other sites More sharing options...
royibernthal Posted April 26, 2018 Author Share Posted April 26, 2018 I remember this approach, but I was going for simply rendering ADT afterwards. The same logic mentioned in the highlight thread applies to this case as well. I think this basically applies to everything - logically ADT layer with foreground = true should be rendered last in all cases, correct me if I'm wrong. http://www.html5gamedevs.com/topic/36612-highlightlayer-is-in-front-of-gui/ Quote yes glow and highlight are layers They are now rendered before the ADT layer. Godrays and lens flare are postprocesses so they are also rendered before the ADT layer Quote Link to comment Share on other sites More sharing options...
Guest Posted April 26, 2018 Share Posted April 26, 2018 You are correct Quote Link to comment Share on other sites More sharing options...
royibernthal Posted April 27, 2018 Author Share Posted April 27, 2018 Does that mean you'll change it in bjs source? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 27, 2018 Share Posted April 27, 2018 Sorry I was unclear. ADT is based on layers and thus it will be rendered BEFORE postprocess. And this is not a big deal as we can either have two scenes if it is a problem (or even two cameras with layer masks) royibernthal 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.