Skip to content

Commit

Permalink
Lowered min triad size to support kurozumi preset and tweaked some UI…
Browse files Browse the repository at this point in the history
… elements
  • Loading branch information
akgunter committed Feb 4, 2021
1 parent 4a5e1a4 commit b6ce2dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions reshade-shaders/Shaders/crt-royale/lib/bind-shader-params.fxh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ uniform float mask_triad_size_desired <
ui_label = "Mask Triad Width";
ui_tooltip = "The width of a triad";
ui_type = "slider";
ui_min = 3.0;
ui_min = 1.0;
ui_max = 18.0;
ui_step = 0.1;
> = mask_triad_size_desired_static;
Expand Down Expand Up @@ -167,10 +167,10 @@ uniform float bloom_excess <


// ==== INTERLACING ====
uniform int enable_interlacing <
uniform bool enable_interlacing <
ui_label = "Enable Interlacing";
ui_type = "combo";
ui_items = "No\0Yes\0";
// ui_type = "combo";
// ui_items = "No\0Yes\0";
> = true;
uniform float scanline_num_pixels <
ui_label = "Scanline Thickness";
Expand All @@ -195,24 +195,24 @@ uniform float scanline_blend_gamma <
ui_max = 5.0;
ui_step = 0.01;
> = 0.93;
uniform int interlace_bff <
ui_type = "combo";
uniform bool interlace_bff <
// ui_type = "combo";
ui_label = "Draw Back-Field First";
ui_tooltip = "Draw odd-numbered scanlines first (often has no effect)";
ui_items = "No\0Yes\0";
// ui_items = "No\0Yes\0";
> = interlace_bff_static;
uniform float3 convergence_offset_x <
ui_label = "Convergence Offset X RGB";
ui_tooltip = "Shift the color channels horizontally";
ui_type = "slider";
ui_type = "drag";
ui_min = -4;
ui_max = 4;
ui_step = 0.05;
> = 0;
uniform float3 convergence_offset_y <
ui_label = "Convergence Offset Y RGB";
ui_tooltip = "Shift the color channels vertically";
ui_type = "slider";
ui_type = "drag";
ui_min = -4;
ui_max = 4;
ui_step = 0.05;
Expand Down Expand Up @@ -245,7 +245,7 @@ uniform float geom_view_dist <
> = geom_view_dist_static;
uniform float2 geom_tilt_angle <
ui_label = "Geom Tilt Angle XY";
ui_type = "slider";
ui_type = "drag";
ui_min = -pi;
ui_max = pi;
ui_step = 0.01;
Expand All @@ -266,7 +266,7 @@ uniform float2 geom_overscan <
// ==== ANTI-ALIASING ====
uniform float2 aa_subpixel_r_offset_runtime <
ui_label = "AA Subpixel R Offet XY";
ui_type = "slider";
ui_type = "drag";
ui_min = -0.5;
ui_max = 0.5;
ui_step = 0.01;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "../lib/phosphor-mask-resizing.fxh"
#include "shared-objects.fxh"

static const int num_sinc_lobes = 3;
static const int num_sinc_lobes = mask_sinc_lobes;

void maskResizeVertVS(
in const uint id : SV_VertexID,
Expand Down

0 comments on commit b6ce2dc

Please sign in to comment.