1
0
Fork 0

Add property controls for cloud impostors and LoD hierarchy radii.

This commit is contained in:
Stuart Buchanan 2011-12-17 18:52:38 +00:00
parent 3bfee87bba
commit 4c321b6b80

View file

@ -222,10 +222,26 @@ FGEnvironmentMgr::bind ()
&SGSky::get_3dCloudVisRange,
&SGSky::set_3dCloudVisRange);
_tiedProperties.Tie("clouds3d-impostor-range", _sky,
&SGSky::get_3dCloudImpostorDistance,
&SGSky::set_3dCloudImpostorDistance);
_tiedProperties.Tie("clouds3d-lod1-range", _sky,
&SGSky::get_3dCloudLoD1Range,
&SGSky::set_3dCloudLoD1Range);
_tiedProperties.Tie("clouds3d-lod2-range", _sky,
&SGSky::get_3dCloudLoD2Range,
&SGSky::set_3dCloudLoD2Range);
_tiedProperties.Tie("clouds3d-wrap", _sky,
&SGSky::get_3dCloudWrap,
&SGSky::set_3dCloudWrap);
_tiedProperties.Tie("clouds3d-use-impostors", _sky,
&SGSky::get_3dCloudUseImpostors,
&SGSky::set_3dCloudUseImpostors);
// _tiedProperties.Tie("lightning-enable", &sgEnviro,
// &SGEnviro::get_lightning_enable_state,
// &SGEnviro::set_lightning_enable_state);