Does anyone know how to have sun rays at night? I have seen it done without parts etc and I can’t find anyone, anywhere showing how it’s done. It might be a script or something, I am not sure. Thanks.
Did you mean moonlight that is cast through window or something else?
Moonlight that behaves the same as sun-rays do, so yes they would cast through a window.
The question still remains ambiguous, but it is possible that you are referring to beams or a lighting technique. If you have any visual media that presents such behavior, can you please provide them?
The SunRaysEffect is what I am trying to achieve, but at night.
What I often do is add a night sky skybox, and change the sun’s decal to the moon. If you want to have the darkness of night, try adding fog to replicate it. Hope this helps.
How about using a night skybox and replacing the default sun with a moon texture using the SunTextureId property of skybox? Then just add the SunRaysEffect to achieve the desired result.
Epic. Thankyou so much, this works!
Awesome, thank you so much.