Hi
I'd like to create a volumetric light effect (for example a flashlight beam that becomes visible as the player enters a foggy area).
To do this I created a simple cone and mapped an additive particle shader on it (here's a quick overwiev of the technique behind it:
http://udn.epicgames.com/Three/VolumetricLightbeamTutorial.html)
But now the tricky part: How can I prevent intersections with other 3d objects in my scene? I thought of a dynamic clipping of the cone geometry as soon as it hits another object but I'm not sure how to setup something like this.
Any sggestions?
Cheers!