Jump to content

Workflow blender/babylon multiple layers


erixon
 Share

Recommended Posts

I'm used to work with Sketchup and repetive textures to save space. I have imported objects to Blender to unwrap/create lightmaps and load .babylon, but no expert in multiple textures/uvs.

Is it possible with Babylon in an easy way to import an object with two texture layers with different uvs so one is diffuse map and one is lightmap?

Just wondered if this work more or less out of the box or how tricky it gets.

kind regards
Tomas 

Link to comment
Share on other sites

You just have to assign the right uv mapping of your texture in Blender.

UV channels can be set in the object data panel, use first channel for diffuse map, second for lightmap. Only 2 uv channels can be exported.

Of course assign at least one material, then configure your textures and tell your lightmap to use uv channel 2.

That's it :)

[edit] don't forget in the texture panel to set your lightmap to ambient rather than diffuse in the influence panel [/edit]

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