Learn how to modify material properties.

Materials contain a combination of attributes that mimic the visual characteristics of real-world objects. Campfire uses a Physically Based Rendering (PBR) materials model that mimics how light interacts with surfaces. In this article, we’ll show you how to modify different material and shader attributes to fine-tune the look of your models.

Change the shader

Shaders are used to calculate the appropriate levels of light, darkness, and color when rendering materials on a model. Some examples of shaders available in Campfire include “Wood” and “Rubber.” You can change a material’s shader by selecting the Shader dropdown in the Look section of the inspector Scene tab.

change shader.gif

Material properties editor

As you change the shader, you’ll find different material properties with the following types.

Property types

Image: used to assign a PNG or JPG texture. Appears as a checkered square when unassigned.

Screen Shot 2023-11-21 at 2.30.50 PM.png

Color: used to set color and alpha channel. Appears as a colored rectangle.

Screen Shot 2023-11-21 at 2.31.05 PM.png

Slider: used to increase or decrease the intensity of a property.

Screen Shot 2023-11-21 at 2.31.15 PM.png

Values: used to input specific values for tiling and offset properties.

Screen Shot 2023-11-21 at 2.31.28 PM.png

<aside> 💡 Note: some properties may contain more than one of the types listed above. For example, you might be able to change both the Image and Color in a single property.

</aside>

Example of changing material properties

In the example below, we’ll apply a wooden texture to the Robodog model’s head.

  1. Select the part