Skip to content

Commit

Permalink
Disabled Texture Unjittering
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsakharov committed Apr 4, 2024
1 parent b0d287d commit 42e06df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Prowl.Editor/EmbeddedResources/DefaultAssets/Standard.shader
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ Pass 0
vec2 UnjitterTextureUV(vec2 uv, vec2 currentJitterInPixels)
{
// Note: We negate the y because UV and screen space run in opposite directions
return uv - ddx_fine(uv) * currentJitterInPixels.x + ddy_fine(uv) * currentJitterInPixels.y;
//return uv - ddx_fine(uv) * currentJitterInPixels.x + ddy_fine(uv) * currentJitterInPixels.y;
return uv;
}

float InterleavedGradientNoise(vec2 pixel, int frame)
Expand Down

0 comments on commit 42e06df

Please sign in to comment.