Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: brixX on August 26, 2014, 04:14:02 PM

Title: Clipping Geometry Dynamically?
Post by: brixX on August 26, 2014, 04:14:02 PM
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 (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!