- Home /
Particle effect turns black when Fog is enabled.
I have several particle effects in our game, and all of them are rendered black when Fog is enabled (in the render settings). Once the player gets close enough to these particle effects, they begin rendering with the correct colors. How can I prevent my particle effects from rendering pure black when at a distance?
Probably something like this: http://answers.unity3d.com/questions/24533/disabling-fog-on-alpha-blended-premultiply.html - I've no idea why Unity particle Shaders have this bug, but I've had this problem myself, so I'm interested in an explanation too.
Answer by BenWiller1989 · Sep 04, 2020 at 03:01 PM
The particles of the particle effect are rendered due to its material. If you don't assign a material, you'll probably see a magenta color even with the fog. If you use a normal diffuse material, it won't show in the fog, so try to change your material shader to "Particles/Priority Addictive (soft)" and you'll see it in the fog.