Hey there.
Im trying to create a volumetric “god ray” thru a window.
But the window just blocks the light from a spotlight that is faking the ingoing lightsource.
If i drag the spotlight thru the window into the volume it works. But what should i do to let light thru the window?
Im using HDRP 7.5.1.
Latest Unity.
The window material is transparent of course.
I don’t believe there’s any way around that other than faking it.
If I remember correctly, transparency and volumetric light/fog don’t mix well with transparent objects.
I fixed it.
I had nothing to do with the light nor the material. It was the actual volume that was set to local. I switched it to global and poof, it worked.
so it looks like this now.
And ive added a cookie to the light to narrow the angles.