Volumetric light and Sun Shafts

Hi everyone,

Is it possible to create a volumetric cone of light coming out of a spotlight using Sun Shafts? If so how?

Is this efficient?

In my game, as I am navigating through a tunnel, I want to emulate a liquid environment using this volumetric lighting effect. However Have not been uble to make sun shafts to work.

Thanks.

I would have to research further coz im new to all this but I would guess cookies and alpha channels mixed with fog somehow :slight_smile: (Im a 3D artist :slight_smile: ) this would be how I would do it in a 3d package so im guessing thats how it could be achieved in Unity :slight_smile: ,sorry I cant help more :frowning: (Yet ;p)

have a look at the caustics generator, the free version lets you make a decent resolution, seemles animation and can be used as light coockies (with animation script) to simulate water refracted light on walls or ground.

I want the same effect. Solved it using lens flare and this video helped me a lot to get volumetric effect. - YouTube