primesoftware Posted August 2, 2016 Share Posted August 2, 2016 I have a material in JSON format as per https://doc.babylonjs.com/generals/File_Format_Map_(.babylon)#materials. How can I parse and use this as a material in my scene? Quote Link to comment Share on other sites More sharing options...
RaananW Posted August 2, 2016 Share Posted August 2, 2016 You can use the Material.Parse(jsonObject, myScene, urlForTextures) function to achieve that. Quote Link to comment Share on other sites More sharing options...
primesoftware Posted August 3, 2016 Author Share Posted August 3, 2016 @RaananW Awesome! Thanks! This is exactly what I was looking for and it works great! 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.