Skip to content

Commit

Permalink
Update cQuantize.fx
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Nov 1, 2024
1 parent 37fe516 commit 89c841f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions shaders/cQuantize.fx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ float4 PS_Color(CShade_VS2PS_Quad Input) : SV_TARGET0
float2 ColorMapTex = Input.Tex0;
float2 HashTex = Input.HPos.xy;
float2 Grid = floor(Input.Tex0 * _Resolution);

float4 ColorMap = 0.0;
float3 Dither = 0.0;

if (_Pixelate)
{
Expand All @@ -59,9 +61,6 @@ float4 PS_Color(CShade_VS2PS_Quad Input) : SV_TARGET0
ColorMap = tex2D(CShade_SampleGammaTex, Input.Tex0);
}


float3 Dither = 0.0;

switch (_DitherMethod)
{
case 0:
Expand Down

0 comments on commit 89c841f

Please sign in to comment.