Author Topic: FogVolumes not working - 2017.4.22 Dynamic Fog - topdown effect?  (Read 2285 times)

Richard_E

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: FogVolumes not working - 2017.4.22 Dynamic Fog - topdown effect?
« Reply #15 on: March 11, 2019, 09:45:26 AM »
How do I turn fog void and fog areas on and off? There are no enable/disable buttons.

PS Appreciate your help. None of these questions seem to be answered, and I'm providing the perspective of a new user!
« Last Edit: March 11, 2019, 09:48:03 AM by Richard_E »

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 5953
    • View Profile
Re: FogVolumes not working - 2017.4.22 Dynamic Fog - topdown effect?
« Reply #16 on: March 11, 2019, 10:23:21 AM »
Yes, I understand and thanks for your questions.

- Fog areas can be disabled/enabled simply deactivating or activating the corresponding gameobject (or using scripting: <fogAreaGameObject>.SetActive(true/false);
- Fog void is a feature on volumetric fog & mist script which can be enabled/disabled using scripting:

Code
// disable fog void
VolumetricFog.instance.fogVoidRadius = 0;

// enable fog void
VolumetricFog.instance.fogVoidRadius = desired_radius;