- Home /
Setting fog color on alpha blended to be fog color
Hello guys,
I was wondering,
Is there anyway to set the color of fog on the alpha blended shader to be the current render settings fog color?
thanks.
Edit: Bump
Answer by Aras · Jan 03, 2011 at 03:19 PM
I'm not sure what do you mean. If in the shader you don't do anything to override fog color with your own fog color, it will use the scene's fog color.
(In Unity 3.0/3.1 there is a bug in OpenGL ES 2.0 on iOS/Android, in that fog does not work properly on semitransparent shaders... this will be fixed in next release, for the meantime you'd have to use OpenGL ES 1.1)
Your answer
Follow this Question
Related Questions
Material doesn't have a color property '_Color' 4 Answers
Change shader color for specific GameObject 1 Answer
Object is rendered white(saturated) 1 Answer
How to enable Fog in vertex bending shader? 2 Answers
Coloured specularity mapping? 1 Answer