Jump to content
  • Advertisement

Archived

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

steve_bruce

Volumetric Lighting in OpenGL

This topic is 6611 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!