Hello,
I have two WebGL contexts running, one on top of another, with the top one being a transparent canvas. I’m trying to use a render target in the bottom context to render a depth texture so I can use the depth data in a post processing shader in the top context. I’m having some difficulty doing this. It seems that the depth texture is empty when I’m using it in the top context.
Any help will be appericiated!
Thanks