rendering false vbox 20 hbox 1 1 center hbox vbox hbox left true left wireframe /sim/rendering/wireframe dialog-apply wireframe left /sim/rendering/point-sprites dialog-apply hbox left true left particles /sim/rendering/particles dialog-apply particles left precipitation /sim/rendering/precipitation-gui-enable dialog-apply precipitation left random-objects /sim/rendering/random-objects dialog-apply random-objects reinit tile-manager left random-vegetation /sim/rendering/random-vegetation dialog-apply random-vegetation reinit tile-manager left jetways /nasal/jetways/enabled dialog-apply jetways hbox left true left 3d-clouds /sim/rendering/clouds3d-enable dialog-apply 3d-clouds hbox right /sim/rendering/clouds3d-enable cloud-density /sim/rendering/clouds3d-enable 0 1.0 /sim/rendering/clouds3d-density dialog-apply cloud-density property-toggle /sim/rendering/clouds3d-enable property-toggle /sim/rendering/clouds3d-enable /sim/rendering/clouds3d-enable %.2f true /sim/rendering/clouds3d-density hbox right /sim/rendering/clouds3d-enable cloud-vis-range /sim/rendering/clouds3d-enable 1000.0 45000.0 /sim/rendering/clouds3d-vis-range dialog-apply cloud-vis-range /sim/rendering/clouds3d-enable %.fm true /sim/rendering/clouds3d-vis-range vbox 1 vbox hbox left true vbox 4 0 left 0 left hbox quality-level 0.0 5.0 1.0 0.17 /sim/rendering/shaders/quality-level dialog-apply quality-level (%1.0f) true /sim/rendering/shaders/quality-level hbox vbox /sim/rendering/shaders/quality-level left 1.0 0.6 0.6 /sim/rendering/shaders/quality-level left 1.0 0.6 0.6 hbox /sim/rendering/shaders/quality-level left 1.0 0.6 0.6 true vbox left /sim/rendering/shaders/quality-level skydome-scattering /sim/rendering/shaders/skydome dialog-apply skydome-scattering hbox right /sim/rendering/shaders/quality-level /sim/rendering/shaders/skydome mie-factor /sim/rendering/shaders/quality-level /sim/rendering/shaders/skydome 0.0 0.01 0.001 /sim/rendering/mie dialog-apply mie-factor /sim/rendering/shaders/quality-level /sim/rendering/shaders/skydome %.3f true /sim/rendering/mie hbox right /sim/rendering/shaders/quality-level /sim/rendering/shaders/skydome rayleigh-factor /sim/rendering/shaders/quality-level /sim/rendering/shaders/skydome 0.0 0.001 0.0001 /sim/rendering/rayleigh dialog-apply rayleigh-factor /sim/rendering/shaders/quality-level /sim/rendering/shaders/skydome %.4f true /sim/rendering/rayleigh hbox right /sim/rendering/shaders/quality-level /sim/rendering/shaders/skydome density-factor /sim/rendering/shaders/quality-level /sim/rendering/shaders/skydome 0.0 1.0 0.1 /sim/rendering/dome-density dialog-apply density-factor /sim/rendering/shaders/quality-level /sim/rendering/shaders/skydome %.1f true /sim/rendering/dome-density 1 gui.enable_widgets(cmdarg(), "shadows-debug", getprop("/sim/gui/devel-widgets")); # overwrite custom shader settings on quality-slider input _setlistener("/sim/rendering/shaders/quality-level", func { var qualityLevel = getprop("/sim/rendering/shaders/quality-level"); setprop("/sim/rendering/shaders/landmass",qualityLevel); setprop("/sim/rendering/shaders/urban",qualityLevel); setprop("/sim/rendering/shaders/water",qualityLevel); if (qualityLevel >= 3.0){ qualityLevel = 3.0; } setprop("/sim/rendering/shaders/model",qualityLevel); if (qualityLevel >= 1.0){ qualityLevel = 1.0; } setprop("/sim/rendering/shaders/contrails",qualityLevel); setprop("/sim/rendering/shaders/crop",qualityLevel); setprop("/sim/rendering/shaders/generic",qualityLevel); setprop("/sim/rendering/shaders/transition",qualityLevel); });