Skip to content

Commit

Permalink
Removed mipmapping on screenspace spritesheets.
Browse files Browse the repository at this point in the history
No longer will you have ugly discontinuities.
  • Loading branch information
AkaiMage authored Apr 8, 2019
1 parent 877086f commit 0e2b9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cancerspace.shader
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
float2 offset = float2(currentFrame - row * _FlipbookColumns, _FlipbookRows - row - 1);

float2 newUVs = frac((uv + offset) * invCR);
color = tex2D(_MainTex, newUVs) * _OverlayColor;
color = tex2Dlod(_MainTex, float4(newUVs, 0, 0)) * _OverlayColor;
}
break;
case OVERLAY_CUBEMAP:
Expand Down

0 comments on commit 0e2b9b2

Please sign in to comment.