MarianG Posted November 9, 2017 Share Posted November 9, 2017 Hello. Let's explain my problem. I have an array of points. Tasks: 1. Create a mesh according to input points. It was simple, using CreateRibbon. 2. Add a material to mesh, according to input points height. I found a few option: - gradient Material - terrain Material - custom Material - or adding color property direct to the vertex data, like here http://www.babylonjs-playground.com/#VKBJN#104 https://playground.babylonjs.com/#NLV5X5#4 Personally, I prefer last option, but I don't understand to good how colors works I am willing to try any option. . I feel like and idiot because I think it's not too complicate. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.