Welcome, Guest.
Username: Password: Remember me

TOPIC: What does ui_step = 0.01 means :?

What does ui_step = 0.01 means :? 4 weeks 1 day ago #1

Hi!

I'm trying to set up SMAA in Batman: Arkham Knight.
I am interested in this section - Edge Detection Treshold.

uniform float EdgeDetectionThreshold <
ui_type = "drag";
ui_min = 0.05; ui_max = 0.20; ui_step = 0.01;
ui_tooltip = "Edge detection threshold. If SMAA misses some edges try lowering this slightly.";
ui_label = "Edge Detection Threshold";
> = 0.10;

I understand that the lower is better, the 0.05 is the best, 0.20 is the worst. But what does ui_step = 0.01 means? What happens if I set Edge detection Treshold to value lower than 0.05, e.g. 0.01?

On a side note: When installing a new version of Reshade, is it better to delete everything and do a clean install or can I just overwrite existing files, does it matter?

Thank you for your answers.
The administrator has disabled public write access.

What does ui_step = 0.01 means :? 4 weeks 1 day ago #2

ui_step is just the amount the value changes when you click + drag in the ReShade overlay.

Somitomere wrote:
What happens if I set Edge detection Treshold to value lower than 0.05, e.g. 0.01?
The shader might not work as intended anymore.

Somitomere wrote:
On a side note: When installing a new version of Reshade, is it better to delete everything and do a clean install or can I just overwrite existing files, does it matter?
Overwriting the previous installation (which is just the dll, I guess) is fine.
Last Edit: 4 weeks 1 day ago by Daodan.
The administrator has disabled public write access.
The following user(s) said Thank You: Somitomere

What does ui_step = 0.01 means :? 4 weeks 1 day ago #3

Thank you very much!

If you don't mind another question, what is the difference between color, luma and depth edge detection and which one should I use?
The administrator has disabled public write access.

What does ui_step = 0.01 means :? 4 weeks 1 day ago #4

I'm not familiar with the SMAA code and how it works so I'm not a hundred percent sure.
I think with these different edge detection types you can choose which parts of the image SMAA gets applied to.
Color and luma uses the rgb image or its luminosity to find edges.
With the depth edge detection mostly the outlines of objects are getting anti aliased.
Last Edit: 4 weeks 7 hours ago by Daodan.
The administrator has disabled public write access.

What does ui_step = 0.01 means :? 4 weeks 20 hours ago #5

The ui_step is just the granularity with which you can change the setting via the UI - 0.01 increments.

The 'ui_' part should be a clue to that :)
The administrator has disabled public write access.