From 8bed13b11562f6f7c36e16684abd9fc341635c8e Mon Sep 17 00:00:00 2001 From: papadanku Date: Sat, 16 Nov 2024 04:09:18 -0700 Subject: [PATCH] cEnsor: Made _Blockiness setting more tweakable --- shaders/cEnsor.fx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/shaders/cEnsor.fx b/shaders/cEnsor.fx index 8bf1e56..a3ec2c3 100644 --- a/shaders/cEnsor.fx +++ b/shaders/cEnsor.fx @@ -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"; @@ -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;