I am having problems with MixMaterial

When I used MixMaterial with CreateGroundFromHeightMap it worked correctly but when I drew the grid with vertext it didn’t do exactly what I needed.
Here my code: Babylon.js Playground

Has anyone explained me this problem? Thank.

The grid needs uv coordinates for textures instead of vertex colors if you need the mix material to show:

https://www.babylonjs-playground.com/#CPJ8YP#1

1 Like

Thank you.

1 Like