🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Volumetric Lighting in OpenGL

Started by
0 comments, last by steve_bruce 24 years ago
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..
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.

This topic is closed to new replies.

Advertisement