Skip to content

Commit

Permalink
Update cColorBand.fx
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Dec 9, 2023
1 parent f3993dd commit a989a84
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions shaders/cColorBand.fx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ uniform bool _Dither <

float4 PS_Color(VS2PS_Quad Input) : SV_TARGET0
{
float3 Dither = GetHash1(Input.HPos.xy, 0.0);
float4 ColorMap = tex2D(CShade_SampleColorTex, Input.Tex0);
float3 Dither = GetIGNoise(Input.HPos.xy);
float4 ColorMap = tex2D(CShade_SampleGammaTex, Input.Tex0);

if (_Dither)
{
Expand All @@ -40,8 +40,6 @@ technique CShade_ColorBand
{
pass
{
SRGBWriteEnable = WRITE_SRGB;

VertexShader = VS_Quad;
PixelShader = PS_Color;
}
Expand Down

0 comments on commit a989a84

Please sign in to comment.