Add lights shader to overall quality slider
This commit is contained in:
parent
eec7ca2fbd
commit
41aaff7a89
1 changed files with 5 additions and 3 deletions
|
@ -1466,9 +1466,11 @@ var update_shader_settings = func() {
|
|||
setprop("/sim/rendering/shaders/landmass",qualityLvl);
|
||||
setprop("/sim/rendering/shaders/urban",qualityLvl);
|
||||
setprop("/sim/rendering/shaders/water",qualityLvl);
|
||||
if (qualityLvl >= 1.0){
|
||||
if (qualityLvl >= 4.0)
|
||||
qualityLvl = 4.0;
|
||||
setprop("/sim/rendering/shaders/lights",qualityLvl);
|
||||
if (qualityLvl >= 1.0)
|
||||
qualityLvl = 1.0;
|
||||
}
|
||||
setprop("/sim/rendering/shaders/model",qualityLvl);
|
||||
setprop("/sim/rendering/shaders/contrails",qualityLvl);
|
||||
setprop("/sim/rendering/shaders/crop",qualityLvl);
|
||||
|
|
Loading…
Reference in a new issue