George3D Posted January 24, 2017 Share Posted January 24, 2017 Hello, I'm working with Babylon outside the Playground. I have created a terrain with "CreateGroundFromHeightMap", but I cannot use "TerrainMaterial". In the list of Classes this one is unkown. What can I do to give a terrain more than one texture? What about "MultiMaterial"? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 24, 2017 Share Posted January 24, 2017 TerrainMaterial is a extention. You must add it in addition to babylon.js Tutorial : http://doc.babylonjs.com/extensions/Terrain extention TerrainMaterial : https://raw.githubusercontent.com/BabylonJS/Babylon.js/master/dist/preview release/materialsLibrary/babylon.terrainMaterial.min.js Liste of extention : https://github.com/BabylonJS/Babylon.js/tree/master/dist/preview release/materialsLibrary Quote Link to comment Share on other sites More sharing options...
George3D Posted January 24, 2017 Author Share Posted January 24, 2017 Thank you, now it works fine. Quote Link to comment Share on other sites More sharing options...
George3D Posted January 24, 2017 Author Share Posted January 24, 2017 When can I expect the official Integration of TerrainMaterial in Babylon.js? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 24, 2017 Share Posted January 24, 2017 It is already official, but is an extension. The extensions are loaded separately Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 24, 2017 Share Posted January 24, 2017 And you can build the version you want here: http://www.babylonjs.com/versionBuilder/ Wingnut and George3D 2 Quote Link to comment Share on other sites More sharing options...
George3D Posted January 25, 2017 Author Share Posted January 25, 2017 Oh, I failed to notice that there where more elements in "Materials", i forgot to scroll. And there is WaterMaterial too. Now I'm very pleased. Many Thanks. GameMonetize 1 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.