Skip to content

Commit

Permalink
cEnsor: Made _Blockiness setting more tweakable
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Nov 16, 2024
1 parent cef6bb7 commit 8bed13b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions shaders/cEnsor.fx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
[Shader Options]
*/

uniform int _Blockiness <
uniform float _Blockiness <
ui_label = "Blockiness";
ui_type = "slider";
ui_min = 0;
ui_max = 7;
> = 3;
ui_min = 0.0;
ui_max = 7.0;
ui_step = 0.1;
> = 3.0;

uniform int _DetectionMode <
ui_label = "Search Algorithm";
Expand Down Expand Up @@ -46,8 +47,8 @@ CREATE_TEXTURE_POOLED(TempTex0_RGBA8_8, BUFFER_SIZE_0, RGBA8, 8)
sampler2D SampleTempTex0
{
Texture = TempTex0_RGBA8_8;
MagFilter = LINEAR;
MinFilter = LINEAR;
MagFilter = POINT;
MinFilter = POINT;
MipFilter = LINEAR;
AddressU = MIRROR;
AddressV = MIRROR;
Expand Down

0 comments on commit 8bed13b

Please sign in to comment.