- Home /
Question by
HanSoloYolo · Aug 20, 2017 at 08:41 PM ·
shadershadersfogpink
[SOLVED] Turning Fog On in Shader Turns Object Pink!
Hello,
My original problem was that some assets from the Asset Store were not rendering the fog. I would go into the shader script and adjust the Fog Mode to On and my model was turning pink.
I just spent a few hours trying to figure out why turning Fog { Mode Off }
to Fog { Mode On }
wasn't working and why it was turning my objects pink.
It is because there is no ON for Fog. There is Off, Global, and etc.
The correct code is Fog { Mode Global }
Comment
Your answer
Follow this Question
Related Questions
Fog Mode Off Functionality 1 Answer
Lightweight Render Shader not receive shadows 0 Answers
Represent Land 3D Area End 0 Answers
viewDir changes with o.Normal 1 Answer
[UNSOLVED] How to use Flooded Grounds asset in URP? 0 Answers