Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

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: 332

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?

Ad:

#2 AmzBee   Members   -  Reputation: 412

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
Aimee Bailey
Lead Programmer / Co-Founder

http://xpod-games.com
@XpodGames




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