Volumetric light with cookies?

I was playing with the cookies in Unity, and thought it looked really awesome.

It reminded me of this other trick this guy did back in my old game engine where there was a point light cookie and light shafts coming from it.

alt text

Is that something possible in Unity pro without scripting?

I’m really bad with shader writing.

3 Answers

3

An effect like that can be achieved by putting a cubemap cookie onto a pointlight. I’m not sure on the specifics of how to set that up, but it sounds similar to what you want.

Yes, that's what I did, but I am now looking for the light shafts that come out of the cookie. Imagine light shining through a window in a dusty room; you can not only see light projected onto the floor, but also in the dust that's floating in the air.

Maybe there is a thing where you can cast shadows on particles?

I recently made a shaft system. Don’t know if it is applicable to your problem tough.

Looks very good. Thanks for the solution.

maybe you could mark the answer so the topic is closed.

Have a lool at this video. - YouTube