mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 04:15:11 +00:00
filter-sdf-effects: Extend shadow range to -16...16
This commit is contained in:
parent
50f05e72ae
commit
3ee815b152
1 changed files with 4 additions and 4 deletions
|
@ -275,11 +275,11 @@ obs_properties_t* filter::sdf_effects::sdf_effects_instance::get_properties()
|
|||
obs_property_set_modified_callback2(p, cb_modified_inside, this);
|
||||
|
||||
p = obs_properties_add_float_slider(props, P_SHADOW_INNER_RANGE_MINIMUM, P_TRANSLATE(P_SHADOW_INNER_RANGE_MINIMUM),
|
||||
0.0, 16.0, 0.01);
|
||||
-16.0, 16.0, 0.01);
|
||||
obs_property_set_long_description(p, P_TRANSLATE(P_DESC(P_SHADOW_INNER_RANGE_MINIMUM)));
|
||||
|
||||
p = obs_properties_add_float_slider(props, P_SHADOW_INNER_RANGE_MAXIMUM, P_TRANSLATE(P_SHADOW_INNER_RANGE_MAXIMUM),
|
||||
0.0, 16.0, 0.01);
|
||||
-16.0, 16.0, 0.01);
|
||||
obs_property_set_long_description(p, P_TRANSLATE(P_DESC(P_SHADOW_INNER_RANGE_MAXIMUM)));
|
||||
|
||||
p = obs_properties_add_float_slider(props, P_SHADOW_INNER_OFFSET_X, P_TRANSLATE(P_SHADOW_INNER_OFFSET_X), -100.0,
|
||||
|
@ -302,11 +302,11 @@ obs_properties_t* filter::sdf_effects::sdf_effects_instance::get_properties()
|
|||
obs_property_set_modified_callback2(p, cb_modified_outside, this);
|
||||
|
||||
p = obs_properties_add_float_slider(props, P_SHADOW_OUTER_RANGE_MINIMUM, P_TRANSLATE(P_SHADOW_OUTER_RANGE_MINIMUM),
|
||||
0.0, 16.0, 0.01);
|
||||
-16.0, 16.0, 0.01);
|
||||
obs_property_set_long_description(p, P_TRANSLATE(P_DESC(P_SHADOW_OUTER_RANGE_MINIMUM)));
|
||||
|
||||
p = obs_properties_add_float_slider(props, P_SHADOW_OUTER_RANGE_MAXIMUM, P_TRANSLATE(P_SHADOW_OUTER_RANGE_MAXIMUM),
|
||||
0.0, 16.0, 0.01);
|
||||
-16.0, 16.0, 0.01);
|
||||
obs_property_set_long_description(p, P_TRANSLATE(P_DESC(P_SHADOW_OUTER_RANGE_MAXIMUM)));
|
||||
|
||||
p = obs_properties_add_float_slider(props, P_SHADOW_OUTER_OFFSET_X, P_TRANSLATE(P_SHADOW_OUTER_OFFSET_X), -100.0,
|
||||
|
|
Loading…
Reference in a new issue