Jump to content

  • Log In with Google      Sign In   
  • Create Account


combine 2 scenes?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 coffeecup   Members   -  Reputation: 126

Like
0Likes
Like

Posted 01 February 2014 - 10:42 AM

I'm trying to implement deferred shading in webgl and render transparent objects in another scene / pass with forward rendering.

 

Whats bugging me is how can I combine the transparent scene with the output of the deferred renderer.

I thought of using the depth from the gbuffer in the forward renderer shader and discard every fragment which z > z from depth pass.

 

Would that work?

 

 



Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS