HPL3/Materials/Working with Materials

From Frictional Wiki
< HPL3‎ | Materials
Revision as of 21:39, 8 September 2020 by TiMan (talk | contribs)
Jump to navigation Jump to search

In HPL3, materials are used only every 3D object, be it a model, entity, terrain or even a 2D plane. Materials are created using the Material Editor, and then assigned to the 3D object. There are several ways to assign a material to a 3D object, depending on the type of object.

Assigning Materials to Entities

In order to assign a material to an entity, you need to use the Model Editor. By selecting the mesh, you will have the option to add an existing .mat file.

Assigning Materials to Static Objects

In order to assign a material to a static object, you need to make sure that:

  1. The diffuse texture is assigned to the model file. For example, a dae file should have a texture assignment like so:


See More