Replace hwFogEnable with fogging flag.

This commit is contained in:
Allan Ihsan 2022-06-25 11:21:25 +03:00
parent 0486b99a34
commit f25c662c37
3 changed files with 4 additions and 5 deletions

View file

@ -2550,8 +2550,8 @@ def load_capture_preset(data=None):
if key == 'headsUpDisplay':
temp_options['headsUpDisplay'] = True
if key == 'hwFogEnable':
temp_options2['hwFogEnable'] = preset[id][key] or False
if key == 'fogging':
temp_options['fogging'] = preset[id][key] or False
if key == 'hwFogStart':
temp_options2['hwFogStart'] = preset[id][key]
@ -2605,7 +2605,6 @@ def load_capture_preset(data=None):
'ssaoAmount',
'ssaoFilterRadius',
'ssaoRadius',
'hwFogEnable',
'hwFogStart',
'hwFogEnd',
'hwFogAlpha',

View file

@ -506,7 +506,7 @@
"ssaoRadius": 16,
"ssaoFilterRadius": 16,
"ssaoSamples": 16,
"hwFogEnable": true,
"fogging": true,
"hwFogFalloff": "0",
"hwFogDensity": 0,
"hwFogStart": 0,

View file

@ -277,7 +277,7 @@
},
{
"type": "boolean",
"key": "hwFogEnable",
"key": "fogging",
"label": "Enable Hardware Fog"
},
{