Hoang Huy Posted October 8, 2019 Share Posted October 8, 2019 I created a terrain with noise and wanted to change the material to the height of "y". I used BABYLON.MultiMaterial and the loop caught indices with "y" <1.5 as "WaterMaterial" else "StandardMaterial" I get the error as pic attach. Does anyone have suggestions for me or give me examples to handle this problem? Quote Link to comment Share on other sites More sharing options...
Hoang Huy Posted October 8, 2019 Author Share Posted October 8, 2019 This is my code https://www.babylonjs-playground.com/#DSUF7F Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.