- Home /
Question by
nursedayuksel · Feb 23, 2021 at 05:35 PM ·
c#particlesparticle systemfog
Rain particles are getting affected by the fog
Good day peeps!
In the game I'm working on, I have rain particles and fog. The fog gets activated 10 seconds after the game starts. Everything seems to be working fine until the fog gets activated. When it does, the rain particles seem to disappear, I can't see them at all. What can I do so that the particles don't get affected by the fog?
Before fog gets activated:
After fog gets activated:
Any help would be appreciated!
capture1.jpg
(24.8 kB)
capture.jpg
(42.9 kB)
Comment
Answer by Llama_w_2Ls · Feb 24, 2021 at 01:03 PM
You can use a custom shader to do this. Have a look at: How to make an object not affected by fog