michal Posted June 18, 2021 Share Posted June 18, 2021 Hello , I have a problem that is either my misuse or it is a rendering feature. At a larger jump in the position of camera , it is automatically set HazeDistance to a different value as I preset and fast converge to 0. Do you have any idea what might be the problem ? Is there another way to set visibility that through setHazePhysicalHalfVisibilityDistance ? auto environmentPresetPtr = Unigine::Render::getEnvironmentPreset(0); environmentPresetPtr->setHazePhysicalHalfVisibilityDistance(desc.visibility); Thank you. Michal Link to comment
cash-metall Posted June 18, 2021 Share Posted June 18, 2021 Hi! Haze settings change according to visibility range in IG. IG can periodically overwrite this parameter. you can use ig_manager->getMeteo()->setVisibilityDistance(float meters) for controlling haze distance (instead manualy Preset::setHazePhysicalHalfVisibilityDistance) or just remove hazePhysicalHalfVisibilityDistance from data/ig/weather/tracks/visibility.track 1 Link to comment
michal Posted June 18, 2021 Author Share Posted June 18, 2021 Thank you, it is okay now Link to comment
Recommended Posts