Archived

This topic is now archived and is closed to further replies.

Volumetric Lighting in OpenGL

This topic is 6392 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

Hi everyone I''ve just about mastered lights in OpenGL and have been messing about with them for a couple of weeks now. One cool effect that I think would be really interesting would be Volumetric lighting where you can actually see the light. For example the beams of a cars headlights in a thin fog. Has anyone tried to do volumetric lighting in OpenGL and know what to do. Any sort of help would be much appreciated thanks..

Share this post


Link to post
Share on other sites
You could do what Quake 3 and a bunch of other computer games do and just make a model of the light, e.g. for a car you could make a pyramid with a masked transparent texture of the light that fades from bright to dark.

Share this post


Link to post
Share on other sites