Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Affecting a transparent object with lights in a deferred renderer


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
1 reply to this topic

#1 mrheisenberg   Members   -  Reputation: 356

Like
0Likes
Like

Posted 17 September 2012 - 09:58 AM

I implemented a tile-based light culling renderer using the compute shader as in the ATI sample with the puppets and the dagon(i think it was called Leo).While alpha clipping is simple to implement,the alpha blending seems impossible to do without some huge performance or quality penalty.If you render the gbuffer stuff and then render/blend transperent stuff over it with a forward render,it would look weird and out of place.It won't be affected by the hundreds of lights that you use in the deferred renderer(which means your coolest feature(getting something lighted by a lot of lights at once) won't work on glasses,windows,crystals,water and stuff like that).What are efficient ways to implement alpha blending inside your deferred renderer?

Sponsor:

#2 Tarika   Members   -  Reputation: 481

Like
0Likes
Like

Posted 17 September 2012 - 10:40 AM

I came across this little nugget of a problem a while ago, and while my solution is not the best, it certainly works. I do indeed use the forward pass to draw translucent objects, however using the depth information from the GBuffer and a little shader code, I preform a manual depth test and cull any pixels that are occluded. Hope this helps point you in the right direction.

Aimee

We are now on Tumblr, so please come and check out our site! 

 

http://xpod-games.com





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