Skip to content

Commit

Permalink
Update cMotionBlur.fx
Browse files Browse the repository at this point in the history
  • Loading branch information
brimson authored May 22, 2022
1 parent 7d28894 commit 12f6db9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shaders/cMotionBlur.fx
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ namespace Motion_Blur
return normalize(Normal);
}

void Normalize_Frame_PS(in float4 Position : SV_POSITION, float2 TexCoord : TEXCOORD, out float2 Color : SV_TARGET0)
void Normalize_Frame_PS(in float4 Position : SV_POSITION, in float2 TexCoord : TEXCOORD0, out float2 Color : SV_TARGET0)
{
Color = 0.0;
if(_NormalMode)
Expand All @@ -331,7 +331,7 @@ namespace Motion_Blur
}
}

void Blit_Frame_PS(in float4 Position : SV_POSITION, float2 TexCoord : TEXCOORD, out float4 OutputColor0 : SV_TARGET0)
void Blit_Frame_PS(in float4 Position : SV_POSITION, in float2 TexCoord : TEXCOORD0, out float4 OutputColor0 : SV_TARGET0)
{
OutputColor0 = tex2D(Shared_Resources_Motion_Blur::Sample_Common_0, TexCoord);
}
Expand Down Expand Up @@ -739,4 +739,4 @@ namespace Motion_Blur
#endif
}
}
}
}

0 comments on commit 12f6db9

Please sign in to comment.