Skip to content

Commit

Permalink
Fix minor mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Feb 1, 2022
1 parent a6bf99a commit a4fee08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/cHornSchunck.fx
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ namespace HornSchunck

void VelocityShadingPS(in float4 Position : SV_Position, in float2 TexCoord : TEXCOORD0, out float4 OutputColor0 : SV_Target)
{
float2 Velocity = tex2Dlod(_SampleData2, float4(TexCoord, 0.0, _MipBias)).xy;
float2 Velocity = tex2Dlod(_SampleTemporary0, float4(TexCoord, 0.0, _MipBias)).xy;

if(_NormalizedShading)
{
Expand Down

0 comments on commit a4fee08

Please sign in to comment.