Displacement crack

Got a problem with textures when i use displacement

It cracks on cube mesh but works fine with plane mesh. Am i doing something wrong or it’s a bug?

Hi @Geddity! This is caused by low vertex density on your mesh. The displacement will move the vertices, but on your cube each face only has 4 vertices. The built-in shadergraph shader that the tool uses has a tessellation option to increase the vertex count for displacement, but performance may suffer if you use it in a very large scene.

Can you share more info about the render pipeline you are using and send a screenshot of the material properties if you are using the tool’s built-in shader?

Thanks!

Hi @Alex-Reid ! I tried URP and HDRP but results are the same. Here is material properties

I spoke with the dev who is working on the shader integration and we are moving away from tessellation, sorry for the confusion. You can still use displacement with your own mesh as long as there are enough vertices to displace. The default cube in Unity does not have enough vertices for displacement, so it will just move each face outwards. You can subdivide a cube in Blender to the detail level you are looking for and apply the material to it in Unity and displacement should work fine in that case.

1 Like

Ok thanks, i’ll build my own cube with detail and vertices then

1 Like