Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I recently read this GPU GEMS 3 article Volumetric Light Scattering as a Post-Process. I like the idea to add volumetric light property to realtime render i'm working on. Question is will it work for multiple lights? Our renderer uses one render pass per light and uses additive blending to sum incoming light.

I'm mostly convinced that it have to work nice. Do you agree? Maybe there can be problem where light rays crosses each other.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

The question is a bit ambiguous. Will it work? Sure it will. You can probably squeeze it down to one pass that traces against all lights, even though you use one pass per light. Can you add your lights to a list and do a post process batch where your lights are in a list?

Will it look good? That's the problem. It's not really easy to answer and depend a lot on your art direction and how intense you want the effect from each light to be.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.