yankeeg Posted July 28, 2015 Share Posted July 28, 2015 Hello, I'm just starting with babylon and I was wondering if someone could enlighten me on the engine's flow. What I'm trying to achieve is: render the scene in half resolution on a rendertargettexture, using programs that output packed depth and color(in 2 channels YCoCg). This texture would then be used to extract bloom and ssao and produce a combined texture with these. Finally the scene will be rendered again in the back buffer in full resolution, switching programs to ones that make use of the ssao-bloom texture. My question is how should I go about doing that using the postprocessing pipeline? By peeking at scene render() I thought of overriding the babylon.depthrenderer but I think that would be too hacky. Any help would be appreciated Quote Link to comment Share on other sites More sharing options...
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.