Issue with Displacement map

Hi everybody,

I try to apply displacement textures to my meshes to be more realistic but I have an issue with that because my meshes remain awfully and definitely flat :frowning:

Here’s a PG to show you : https://playground.babylonjs.com/#PTLSUP#1

I use a texture which is available here : Roof Tiles 14 Texture • Poly Haven

Could you help me ?

Thanks in advance,

Boris

Ok, I’ve found the answer in another post here : Displacement Map

The meshes have to be updatable and the ground has to be subdivided.

Here’s the result : https://playground.babylonjs.com/#PTLSUP#2

2 Likes