Skip to content

Help with Meshes with Multiple Materials

Padme4000 edited this page Oct 15, 2021 · 4 revisions

Introduction

So you will some repeated information from my other tutorials but a little bit more information too. So you don't have to sieve through the other tutorials. The tutorials I will be repeating information from are;

How to get your meshes setup for import into a PCC found here Adding your outfit armour for Shepard as a new asset found here

So this tutorial will assume you already know how to set up your DLC and have a general idea of where everything is in Lexplorer

Blender

In blender you want to setup your mesh for multiple materials before trying to import into a PCC

  • Each mesh part that requires a material must have the material assigned in blender
  • The order of the materials only matter once you reach importing into a PCC so they can be any order in blender
    • however if you want to use the FemaleMaterialOverride or MaleMaterialOverride for a casual outfit in the Coalesced make sure your first texture in the order is the one you want to be able to override as it will only ever override one material that being the first (thanks to munchyfly for working this out)
  • This is for any meshes including outfits, hairs and objects.
  1. So once your mesh is ready (and still in separate pieces) for materials it is a good time to assign each part to their material while they are separate (see Figure 01)
  • So if you have 3 parts before joining and want 3 materials make sure to assign the parts to their material which would mean you have 3 materials

Figure 01

Figure 01 Link

  1. Before joining mesh parts make sure their UV's are all named UV0 or at least the same name as each other (see Figure 02)

Figure 02

  1. So when you join you will have 1 mesh but still have 3 materials (see Figure 03)

Figure 03

Package Editor

  1. This happens when the mesh you imported over doesn't have enough Materials applied as you need (see Figure 4)

Figure 4

  1. To fix this lets click on the Material (1) then click on Add Array Element (2) (see Figure 5)

Figure 5

  1. Now a button will appear called Set click that to apply the additional Material slots (see Figure 6)

Figure 6

  1. Now to assign our Materials we need to look at our new PCC in Package Editor at the same time as Meshplorer (see Figure 7)
    • Look at the number next to our other materials. In the example it is 856
    • Click on one of the blank (null) material slots in Meshplorer
    • Type in the number from the material in the PCC so 856
    • Click Set
    • Repeat for other needed materials

Figure 7

  1. Now as you can see all the mesh parts are now showing. Press CTRL + Shift + S to save what you've done (see Figure 8)

Figure 8

Clone this wiki locally