Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/options/options.json
Context not available. | |||||
"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", | "type": "slider", | ||||
"label": "Sharpness factor", | |||||
"tooltip": "The sharpness of the choosen pass.", | |||||
"dependencies": ["postproc"], | |||||
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 | |||||
"config": "sharpness", | |||||
"min": 0, | |||||
"max": 1, | |||||
"function": "Renderer_UpdateSharpnessFactor" | |||||
}, | |||||
{ | |||||
"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", | ||||
Context not available. |
Wildfire Games · Phabricator
I suppose sharpening should be also in dependencies.