Jump to content

Además water material yo imported mesh


Félix Flores
 Share

Recommended Posts

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 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...