Jump to content

Recommended Posts

Posted

Is there a way to add more than one texture to a single object in the Editor? If so, does it have to do with the class script stuff? I kind of expect that you add a new "Appearance" line or something...

Posted

ok, and am I able to do things like

 

character:Paint(material)
character:Paint(material2)

 

doing it with code in the Script Editor might be easier.

I guess I should have titled this "MORE MATERIALS" because I need to add more than one material to my character...

Posted

How do you want to add more than 1 material to a character which only needs 1 material ??

When you exported your character with more than 1 material, you don't have to paint the mesh via script, only create material files with the name your materials had in the modelling programm ( or use converters like UU3D for automatic..)

Posted

It is just a test. I have all of the materials bunched into one bitmap, but one of the textures that I bunched into the image is a little messed up ( which I can easily fix ) but I just want to see if I can add it to another bitmap instead.

Posted

Basicaly you can have only 1 material per surface (which is a group of triangles) and you can have multiple surfaces in a mesh, and multiple meshes in a model. So you can target and paint a single surface, the whole mesh(and all it's surfaces) or whole model (and all sub meshes it contains) both in code and script. So if your mesh consists of only 1 surface you can have only one material assigned to it. - you can easily check that out in the modelviewer.

 

-edit:

or you could create a shader that blends additional textures based on uv's or whatever you can think of, you can assign textures to a material and send shader values from script

  • Upvote 1

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.

×
×
  • Create New...