Skip to content

Commit

Permalink
cCircles: Changed option meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Jul 14, 2024
1 parent 3bf51e0 commit c23a855
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions shaders/cCircles.fx
Original file line number Diff line number Diff line change
Expand Up @@ -31,37 +31,37 @@ uniform float2 _RedChannel_Offset <
ui_category = "Offset";
ui_label = "Red Channel";
ui_type = "slider";
ui_min = -1.0;
ui_max = 1.0;
ui_min = -100.0;
ui_max = 100.0;
> = 0.0;

uniform float2 _GreenChannel_Offset <
ui_category = "Offset";
ui_label = "Green Channel";
ui_type = "slider";
ui_min = -1.0;
ui_max = 1.0;
ui_min = -100.0;
ui_max = 100.0;
> = 0.0;

uniform float2 _BlueChannel_Offset <
ui_category = "Offset";
ui_label = "Blue Channel";
ui_type = "slider";
ui_min = -1.0;
ui_max = 1.0;
ui_min = -100.0;
ui_max = 100.0;
> = 0.0;

uniform float3 _FrontColor <
ui_category = "Output";
ui_label = "Foreground Color";
ui_label = "Foreground Weights";
ui_type = "color";
ui_min = 0.0;
ui_max = 1.0;
> = float3(0.0, 0.0, 0.0);

uniform float3 _BackColor <
ui_category = "Output";
ui_label = "Background Color";
ui_label = "Background Weights";
ui_type = "color";
ui_min = 0.0;
ui_max = 1.0;
Expand Down Expand Up @@ -89,7 +89,7 @@ Tile GetTiles(float2 Tex, float2 Translation)
{
Tile Output;

float2 Tiles = Tex + Translation;
float2 Tiles = Tex + (Translation * fwidth(Tex));

// Get tiles
Output.Value = Tiles * _CircleAmount;
Expand Down

0 comments on commit c23a855

Please sign in to comment.