mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Replace hwFogEnable with fogging flag.
This commit is contained in:
parent
0486b99a34
commit
f25c662c37
3 changed files with 4 additions and 5 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -506,7 +506,7 @@
|
|||
"ssaoRadius": 16,
|
||||
"ssaoFilterRadius": 16,
|
||||
"ssaoSamples": 16,
|
||||
"hwFogEnable": true,
|
||||
"fogging": true,
|
||||
"hwFogFalloff": "0",
|
||||
"hwFogDensity": 0,
|
||||
"hwFogStart": 0,
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@
|
|||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"key": "hwFogEnable",
|
||||
"key": "fogging",
|
||||
"label": "Enable Hardware Fog"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue