Latest news
Tips & GuidesUnreal EngineMari

Using Material Instances in Unreal Engine: An Architectural Visualization Guide

In Unreal Engine, Material Instances let you change parameters defined in a parent material through separate instances. The official documentation explains this approach for color variations and materials that change at runtime in architectural visualization.

A contemporary interior visualization featuring different surface and color optionsAI image
Representative image, generated with AI.Image: 3dsınıfı / FCA AI

In brief

  1. A Material Instance can change the properties of a parameterized parent material without recompiling it.
  2. A Scalar Parameter controls a single floating-point value; a Vector Parameter controls a four-channel value.
  3. A Material Instance Constant is calculated before runtime; a Material Instance Dynamic can be changed at runtime through Blueprint or code.
  4. Static parameter combinations can trigger new material compilations; the documentation recommends limiting their number.

Unreal Engine’s official materials documentation describes Material Instances as a way to change parameters defined in a parent material through separate instances. This approach makes it possible to create different surface options from the same base material in architectural visualization scenes, and to change specific values at runtime. The source page does not specify which Unreal Engine version these explanations apply to, so this guide should not be treated as a list of settings for a specific version.

1. Plan the parent material and its instances

  1. First, create a parent material that defines the core surface behavior you’ll reuse in the project. The documentation explains that material instances form a parent-child relationship with the parent material and inherit its properties. For example, instances derived from the same basic chair material initially look the same as the parent material.

  2. Set up the properties you want to change as parameters in the parent material. A value left as a regular constant cannot be changed in the instance editor; once it is made a parameter, it can be edited in the Material Instance Editor. This means you don’t have to rebuild the material node graph for every variation.

  • Keep naming consistent from the start. The documentation gives M_ for parent materials and MI_ for instances as a good naming convention. This makes it easier to distinguish parent materials from their instances in the Content Browser.

  • Decide which values should be available to the design team. Make the values artists need to change into parameters, and leave values intended to remain fixed as constants. This keeps the controls in the instance editor relevant to the task and protects inputs you don’t want changed accidentally.

  • 2. Choose parameter types to suit your needs

    The values you can edit in a Material Instance depend on the parameter types used in the parent material. The main types covered in the documentation are:

    SettingRecommended valueEffect
    Scalar ParameterA single floating-point value; the example uses a default Roughness of 0.25Lets you change single-value inputs such as Roughness or Metallic in the instance.
    Vector ParameterA four-channel valueUsually used to set colors, as well as inputs that require multiple values.
    Texture ParameterA parameter suited to the texture type being usedLets you change a texture through the instance using types such as TextureSampleParameter2D.
    Static Switch ParameterLimit it to the options you needSelects a material branch at compile time; each combination used can trigger a new material compilation.

    The value 0.25 in the table is not a recommendation; it is the example given in the documentation for the Roughness parameter. Similarly, the documentation shows an example where a constant value of 0.5 is connected to the Specular input. These examples do not determine the right surface value for a project; material behavior should be set up according to the design requirements.

    A Scalar Parameter holds a single floating-point value and can control an input such as Roughness or Metallic. A Vector Parameter can be used when you need a color or another four-channel value. For changing textures, the documentation describes TextureSampleParameter2D as a common option; there are also parameters for other texture types, such as cubemaps and flipbooks. Give parameters unique, descriptive names in the parent material. This makes it easier to understand which control changes which surface property in the Material Instance Editor.

    3. Choose between a constant and a dynamic instance

    1. Decide when changes need to happen. A Material Instance Constant is calculated before runtime and does not change while the game or application is running. It still offers the advantage of being usable as an instance without recompiling the material. This approach works for finishes, colors, or surface options that don’t need to change at runtime.

    2. If values need to change while the application is running, consider a Material Instance Dynamic. According to the documentation, this instance type’s parameters can be changed at runtime through Blueprint visual scripting or compiled code. In the Blueprint workflow described, the parameterized material is passed to the Create Dynamic Material Instance node; the resulting material is then applied to the object using the Set Material node.

    3. Check whether runtime variability is actually necessary. In architectural visualization, options such as different paint colors that need to update at runtime can be handled with a dynamic instance. If you only need to offer fixed alternatives, instances calculated before runtime may be enough instead of making each one dynamic. Make this choice based on which properties need to change, and when.

    4. Adapt the workflow for architectural visualization

    The Material Instance approach is especially useful for architecture and interior design teams creating different options from the same core surface setup. When a surface’s color, roughness, or texture is set up as a parameter, you can edit variations without changing the parent material graph. The documentation notes that changes made in material instances appear immediately in the main viewport, while recompiling a regular material can take up to a minute, depending on its complexity. This illustrates the workflow benefit of not having to recompile the graph for every change.

    However, this does not guarantee a specific time saving in every scene. The benefit depends on the complexity of the material and the changes being made. The source documentation also provides no information about hardware requirements, licensing conditions, or compatibility with specific architectural software; these should be checked separately when planning a project.

    Use static parameters carefully, too. For example, a Static Switch Parameter can select a material branch; the unused branch is not executed at runtime. However, a new material is compiled for every combination of static parameters used in the parent material. A large number of options and combinations can increase the number of shaders that need to be compiled. For this reason, the documentation recommends reducing the number of static parameters and combinations used.

    Common mistakes

    • Leaving a value as a constant in the parent material when it is expected to be changeable. That value won’t appear in the instance editor; the relevant property must be defined as a parameter.

    • Creating a separate parent material for every surface option. Shared properties can live in a single parent material, with the necessary differences managed through instance parameters.

    • Creating too many static parameter combinations. Since each combination can trigger a new material compilation, limit the options from the outset.

    • Using a dynamic instance for properties that don’t need to change at runtime. Choose the instance type based on when changes are actually needed.

    The steps in this guide are based on concepts in the official material instances documentation. Since the source does not provide detailed menu locations, this guide does not add menu paths or version-specific interface instructions.

    Sources

    1 source
    D
    dev.epicgames.comdev.epicgames.com/documentation/en-us/unreal-engine/instanced-materials-in-unreal-engine
    Summary

    Source texts are not republished; short quotes are marked, everything else is our own summary and commentary.

    3dsınıfı’s take
    3dEditor’s assessment

    For architecture and visualization studios in Turkey, the practical benefit of Material Instances is being able to create color, roughness, or texture variations from the same surface setup without continually changing the parent graph. Clearly naming the editable values within the team reduces the risk of mistakes for anyone who takes over the file.

    The source documentation does not specify any particular hardware requirements, so this method should not be interpreted as requiring new hardware. However, a large number of static options can increase compilation overhead. Before implementation, studios should decide which variations are fixed and which need to change at runtime, and separately verify the version and licensing conditions for the Unreal Engine distribution they use.

    Frequently asked questions

    What is an Unreal Engine Material Instance used for?

    It lets you change properties defined as parameters in a parent material through an instance, without recompiling the material. Values such as color, Roughness, and texture can be edited using the appropriate parameter types.

    What is the difference between a Material Instance Constant and a Dynamic instance?

    A Material Instance Constant is calculated before runtime and does not change while the application is running. A Material Instance Dynamic’s parameters can be changed at runtime through Blueprint or code.

    Why should static material parameters be limited in Unreal Engine?

    A new material is compiled for every combination of static parameters used in the parent material. A large number of combinations can increase the number of shaders that need to be compiled.

    Comments and the forum are in Turkish.Join the discussion
    +

    Related news