🔮Textures, Materials and Shaders
Overview and introduction
This is the landing page for materials in Cyberpunk 2077. It contains a definition and a rough overview.
General information
Handy list of references: Cheat sheet: Materials
Re-using materials as templates: Re-using materials: .mi
Multilayered
General information: Multilayered: Cyberpunk's supershader
Properties and definition:
Preview images: Multilayered: Previews
Hands-on:
Definition: Shader
In its original state, a https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators/files-and-what-they-do/3d-objects-.mesh-files is a collection of vertices (pixels). The space between those vertices is filled by faces, which form the 3d object's surface.
The shader is the thing that goes on top of the surface, rendering a material such as glass, skin, concrete, steel…
In Cyberpunk 2077, REDEngine shaders are implemented as .mt
/.remt
files.
How can I use shaders?
If you have ever messed with an item's materials, then you already have.
To use a shader, you create a Material Instance, where you can configure the parameters. Not every parameter of a shader can be configured: since skin always has subsurface scattering, it makes no sense to tweak this. But since skin color already varies dramatically if you don't throw exotic chrome into the mix, you can change them easily via tint.
Definition: Material
In the context of Cyberpunk, a material is the thing that lets the shader define the surface properties of a https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators/files-and-what-they-do/3d-objects-.mesh-files. Typically, you create a local instance, which will then pull in a shader via baseMaterial
.
The property baseMaterial
can point at a .mt
/ .remt
file directly, or to an intermediary .mi
file:

The .mi file
For a hands-on guide and something to play around/experiment with, check AMM: Textured items and Cyberpunk Materials using Custom Props.
What kinds of material exist?
Textured
If you have modded other games, you're used to PBR materials with a bunch of textures like diffuse, normal, metalness etc.
See Cheat sheet: Materials -> PBR material for a list.
To change a textured material, see Changing materials, colors and textures -> #step-2-finding-the-correct-appearance
Multilayered
This is specific to Cyberpunk, and it is incredibly cool. If you're used to textured materials, you're probably going to hate it at first, but it has incredible versatility and re-usability.
What is a multilayered material and how does Multilayered: Cyberpunk's supershader work?
What are these properties, how do I use them?
Decal
A decal material is applied to a decal (sub)mesh, which is located on the surface of another mesh like a sticker.
Check out our guide on Adding decals for further explanation and detail.
Emissive
There are various kinds of emissive materials. See Cheat sheet: Materials -> Emissive Materials for a list.
Material wireframes
You can make materials display as wireframes of their geometry by changing the following property in their .mt.
Please do not overwrite original .mt files, as this will effect everything in the entire game. Always create your own local copy!

Last updated
Was this helpful?