Currently I have a game scene entirely made of standard sprites using the default material.
I use the Unity standard effect named Sun Shafts.
I have tried many combinations of shaders and other settings. I get the sun shafts to shine properly from the whiter areas in the far background which is fine.
But I noticed they also are emitted from white areas on the characters and foreground which completely defeats the purpose of the sun shafts.
Is there a way to get the sun shafts to be emitted only from elements which are far away of from objects defined in advance?