• Advertisement
Sign in to follow this  

Affecting a transparent object with lights in a deferred renderer

This topic is 2047 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement