- Home /
Can I make an object not affected by the fog?
This...
Can I make an object not affected by the fog?
Thanks!!
Answer by Peter G · Mar 14, 2011 at 10:23 PM
http://unity3d.com/support/documentation/Components/SL-Fog.html
You have to add that command into your shader
Answer by Eric5h5 · Mar 14, 2011 at 10:26 PM
Use a custom shader that has "Fog {Mode Off}" in it. You can just grab the source for whatever shader you're normally using and stick that in it.
If in shader you have command "Fallback "Shader Name"" you should also upgrade it with "Fog {$$anonymous$$ode Off}".
Is this solution still actual? I have syntax errors while trying to paste "Fog {$$anonymous$$ode Off}" in the shader file.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Ground fog/low lying fog for a graveyard level 2 Answers
Creating Object Fog? 1 Answer
Fog only working on light sources? 1 Answer
Fog Above? 1 Answer