So I have a project I’m working on and one of the scenes is a bar that the player enters every night. I have some windows lining the back wall where the moon is supposed to come through, and I want to achieve this with some god rays coming through the windows. Does anyone have any ideas as to how I can achieve this. I’ve been messing around with the sun shafts script on the player camera, but I’m not having much luck. Attached is a screen shot of what I’ve got so far. The glow on the windows is achieved using a light-map and several spotlights within them.
I recommend you this: GitHub - robcupisz/LightShafts: A light shafts (volumetric shadows) effect for Unity.
ps. please format your post to make it better readable