Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/options/options.json
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | [ | ||||
"config": "antialiasing", | "config": "antialiasing", | ||||
"list": [ | "list": [ | ||||
{ "value": "disabled", "label": "Disabled", "tooltip": "Do not use anti-aliasing." }, | { "value": "disabled", "label": "Disabled", "tooltip": "Do not use anti-aliasing." }, | ||||
{ "value": "fxaa", "label": "FXAA", "tooltip": "Fast, but simple anti-aliasing." } | { "value": "fxaa", "label": "FXAA", "tooltip": "Fast, but simple anti-aliasing." } | ||||
], | ], | ||||
"function": "Renderer_UpdateAntiAliasingTechnique" | "function": "Renderer_UpdateAntiAliasingTechnique" | ||||
}, | }, | ||||
{ | { | ||||
"type": "dropdown", | |||||
"label": "Sharpening", | |||||
"tooltip": "Reduce blurry effects.", | |||||
"dependencies": ["postproc"], | |||||
"config": "sharpening", | |||||
"list": [ | |||||
{ "value": "disabled", "label": "Disabled", "tooltip": "Do not use sharpening." }, | |||||
{ "value": "cas", "label": "CAS", "tooltip": "Contrast adaptive sharpening, a fast, contrast based sharpening pass." } | |||||
], | |||||
"function": "Renderer_UpdateSharpeningTechnique" | |||||
}, | |||||
{ | |||||
"type": "slider", | |||||
"label": "Sharpness factor", | |||||
"tooltip": "The sharpness of the choosen pass.", | |||||
"dependencies": ["postproc"], | |||||
"config": "sharpness", | |||||
"min": 0, | |||||
"max": 1, | |||||
"function": "Renderer_UpdateSharpnessFactor" | |||||
}, | |||||
{ | |||||
"type": "slider", | "type": "slider", | ||||
"label": "Shader effects", | "label": "Shader effects", | ||||
"tooltip": "Number of shader effects. REQUIRES GAME RESTART", | "tooltip": "Number of shader effects. REQUIRES GAME RESTART", | ||||
"config": "materialmgr.quality", | "config": "materialmgr.quality", | ||||
vladislavbelov: I suppose `sharpening` should be also in dependencies. | |||||
Done Inline ActionsDidn't find a possibility to use a element of the list as dependence. Using "sharpening" as dependence, sharpness is always locked. Sharpening isn't a boolean. OptimusShepard: Didn't find a possibility to use a element of the list as dependence. Using "sharpening" as… | |||||
Not Done Inline ActionsOk, I'll figure it later. vladislavbelov: Ok, I'll figure it later. | |||||
Done Inline ActionsThx OptimusShepard: Thx | |||||
"min": 0, | "min": 0, | ||||
"max": 10 | "max": 10 | ||||
}, | }, | ||||
{ | { | ||||
"type": "boolean", | "type": "boolean", | ||||
"label": "Shadows", | "label": "Shadows", | ||||
"tooltip": "Enable shadows.", | "tooltip": "Enable shadows.", | ||||
"config": "shadows", | "config": "shadows", | ||||
▲ Show 20 Lines • Show All 454 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
I suppose sharpening should be also in dependencies.