fumanshoo Posted January 13, 2013 Posted January 13, 2013 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... Quote
ParaToxic Posted January 13, 2013 Posted January 13, 2013 Yes you can but I think not in the editor.You can make selections in your modelling program for a single mesh and attach materials to that. Quote
fumanshoo Posted January 13, 2013 Author Posted January 13, 2013 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... Quote
ParaToxic Posted January 13, 2013 Posted January 13, 2013 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..) Quote
fumanshoo Posted January 13, 2013 Author Posted January 13, 2013 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. Quote
paramecij Posted January 13, 2013 Posted January 13, 2013 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 1 Quote
Recommended Posts
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.