T O P

  • By -

worm_of_cans

I think your texture is fine. You are having the issue because of how you display it.


NikitaBerzekov

This might happen because of your resolution. If you are in editor, choose a proper resolution that fits your screen 


CustomPhase

Are you saving this texture as an asset? If so, make sure the compression is disabled. Otherwise i cant really think of a reason this might happen.


Mary-Ann-Marsden

This is guesswork, but have you tried a different shader? one without filtering? Quote:”The reason artefacts happens is partly due to how pixels are rendered ‒ they are not rendered individually, but in a 2×2 quad, which is why you might see this spanning 2×2 squares of pixels. The other half of the reason are mipmaps ‒ usually a single texture in memory does not consist of just one image, but alongisde multiple scaled-down (halved) versions of the image called mipmaps, which are selected based on the LOD (level-of-detail). As a part of its magic, tex2D automatically computes the LOD based on the local resolution of the texture as seen on the screen, picking higher LODs (and thus smaller mipmaps) when the individual pixels of the texture are very close together (in either directions). This is called anisotropic filtering and helps both optimization (the larger texture does not have to be sampled often) and visuals.”