Particle System affected by Camera Background Colour?
I have a system that includes an orthographic camera with a few particle systems in front of it, rendering to a render texture. The culling mask is set to show only the particles, and is working correctly. However, the camera's clear flags setting (Skybox or Background colour is the same) are tinting the particles. I cannot have a transparent background with particles rendering to a texture, whatever colour and opacity I put is tinting particles. Any ideas how to fix this? The idea is to have a render texture that just contains the particles.
Thank you.
Answer by chobitsfan · Jul 22, 2020 at 08:13 AM
Download built-in shader source code in https://unity3d.com/get-unity/download/archive Modify Particle Standard Unlit.shader change following line ColorMask RGB to ColorMask RGBA
Your answer
Follow this Question
Related Questions
Particle System rendered in the camera view 2 Answers
Screen space overlay canvas problems. 1 Answer
Weird artefacts (black spots) in Camera Space UI elements 1 Answer
Rendering a Canvas as Screen Space - Camera - Google Cardboard 0 Answers
Volumetric clouds only show up if I turn off its respective camera then back on again in game. 0 Answers