- Home /
Material heightmap broken with texture tiling?
I created two tiles with two materials who are exactly the same, except for tiling.
Left plane is sized 1x1 and has tiling of 1x1. Material heightmap works perfectly. Right plane is sized 0.25 x 1 and has corresponding tiling of 0.25 x 1. The heightmap effect is totally broken.
Please see the following video for moving illustration:
As you can see the broken plane with tiling seems to have "sliding" pixels that move unnaturally, like its liquid. The right side plane that don't have tiling don't suffer from this effect.
My questions are -
Is unity's default material parallax effect known to be broken with tiling?
Is there a way to fix this (while still using tiling)?
Thanks!
Honestly I try an avoid height maps with unity as much as possible and just use normal maps, if you need a height map though I'm not too sure what might be causing it
Update: I found out its not necessarily about tiling, it happens when there's too much diff between scale Z (eg scaling the parallax effect) and scale on the broken axis. For example, if its a quad where Z effect the depth of the parallax and we have Z = 50 and X = 5, we'll have the broken effect on X axis. if we change Z to be 5 or X to be 50, the effect will go away.
I'm pretty sure its a bug in Unity at this point. :/
Your answer
Follow this Question
Related Questions
Height map issue 0 Answers
height map on material, wrong texture on border 0 Answers
Height map using other parts of texture? 0 Answers
is this a bug? 1 Answer
Image loaded with LoadImageIntoTexture gets inverted 0 Answers