Félix Flores Posted July 26, 2017 Share Posted July 26, 2017 Hello This is my first Time in this forum. I am doing a scene with babylon js and I am using water material for some elements, when the mesh is created in code with createGround function it works fine, but when I import scene from blender, and add water material to any mesh, the result is not the expected. some one know what is the process to do that. thanks Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 27, 2017 Share Posted July 27, 2017 So first: welcome ! Can you save your exported babylon file on github for instance and do a repro case on the playground? ping @Luaacro for help (here is an example of how to use it then: https://www.babylonjs-playground.com/#10MM3T#3) Quote Link to comment Share on other sites More sharing options...
brianzinn Posted July 28, 2017 Share Posted July 28, 2017 How is the result not expected? I am applying my own materials on meshes exported from Blender. What I have found is that I need to export from Blender without materials. So, in the export options there is a "Write Materials" (at least for OBJ) and it is selected by default. That's not going to work if you are using some materials from Blender obviously. I think it is a timing issue for when the imported materials arrive and overwrite my applied materials. Also, water material is an extension, so you need to load it in addition to main library: https://doc.babylonjs.com/extensions/water julien-moreau 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.