Jump to content

How do you assign a UV to a material / Texture?


JCPalmer
 Share

Recommended Posts

I finally got Procedural Texture baking in Blender exporter always working.  Am now in the process of making code more production ready. Blender exporter right now will pushes out up to 2 UV's.  Do not know if I will expand it to up to 6 or not.

 

If you have procedural textures, you are not likely to have UV, so I need to create one.  There will be an issue if a material is a composite of an image texture using map 'UV1', with say a noise texture for bump.  Right now, I am always adding a map, 'BakingUV', for the noise texture.

 

I see no place in the exporter, or fileLoader.ts where the UV of a Texture is to use is specified.  I could only add a UVMap when there was none, but am wondering what I must be missing.  Why have 6 UV's, if you never assign textures one?

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