Sun Shafts from a single Light Source?

Hi!
I’ve got a huge problem. I need to cast Sun Shafts for the Sun in one, big open-world scene, but using the Unity’s built-in Sun Shaft creates the shafts from all brightely lit spots (like clouds and lanterns).

How can I set the Sun Shafts to cast from only a single Light Source (the Sun itself, a directional light)?

No I don't think so. Because when they sell the packages, they only do the work once and sell the package 10 times or 1000 times or how much there is demand. If you want custom models tailored for you, you have to pay more than it costs them to make the models, because they do the work once and sell the models only once. Some semi-pro indie developer/modeller could do it quite cheap, hope you find someone in the forums.

1 Answer

1

In the Sun Shafts script check: Rely on Z Buffer? [✓]

Unchecking or checking it makes the Shafts disappear altogether. It may be connected with the fact that the player has two cameras attached. How does Rely on Z Buffer work?

Thank you, reply really appraciated