Replacing materials/textures

The Entity and Model parts let you change sub materials without any additional parts.

Simply create your materials, give them a name and then paste that name into the sub material slot you want to replace.

The Material part allows you to replace individual materials on your model by using the material override setting.

  • Attach a Material to your model
  • Click on next to material override
  • Select the material that you want to replace

This method won't work if you're already using entity/model submaterials.


Invalid Link
Texture of Alyx replaced with a custom one.
Invalid Link
Default PAC model with replaced material.

First create your materials:

  1. Add any of the material parts (:material: Material, :material: Material2D, :material: Material3D)
  2. Tweak the material settings to your liking.
  3. Give the material a name (name field). Make sure that it is unique.

Once that's done, add the Model > :submaterial: Submaterial part, then:

  1. Go to the sub material id field. Click on and select the material that you want to replace.
  2. Type the name of the material that you created into the material field.

If you want the :submaterial: Submaterial to affect a model different than your entity, simply add it as a child of that model. There is a chance that this will break materials on your entity, to fix that simply add an empty :submaterial: Submaterial to your entity and set the sub material id field to the same value as the one that is affecting the model.

In the example below I made two materials:

  • First one, called color will change the color. It has color2 variable set to green.
  • The second one, called texture will replace the texture on Alyx. It has an edited .PNG texture link pasted into base texture field.

Download this example: submaterial.txt


  • Last modified: 15 months ago
  • by yagira