Question by
Almaz del Diablo · Dec 26, 2015 at 08:47 PM ·
mobileruntimefogrendersettings
Changing fogMode in runtime at mobile
Hi!
How I can change a fog mode in runtime at mobile device (Android for example)?
RenderSettings.fogMode = FogMode.ExponentialSquared;
... wait N seconds
RenderSettings.fogMode = FogMode.Exponential;
Fog is disabled after first set and activated after return to source mode (Exponential by default). In editor at MacOS all works fine.
PS: sorry for my english.
Comment
Your answer
Follow this Question
Related Questions
Android Render Issue 0 Answers
PiXYZ at runtime? Can you load cad files at runtime? 2 Answers
iOS and fog 1 Answer
Enable or Disable URP with via script? 2 Answers
On touch in a rectangle 0 Answers