Jump to content

Add reflection texture in blender


burbonvagin
 Share

Recommended Posts

I can only advise in this area from the exporter source code.  There is a type of texture coordinates in the Mapping section, called 'Reflection'.  If that is set & use_map_color_diffuse (don't know where that is set) & it is an image file texture, then the name of the texture is 'reflectionTexture'.  Do not think generates any:

 new BABYLON.MirrorTexture()

Looking at that advanced Texturing doc https://github.com/BabylonJS/Babylon.js/wiki/14-Advanced-Texturing,  I do not see how the renderList of meshes to be mirrored would ever get populated without code on the Babylon side.  Just make a mesh in Blender without assigning a material, and make the material along with the renderList as described.  Assign it to the mesh after it is loaded.

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...