# Cyberpunk Shaders in Blender - Baking to PBR

#### Summary

**Published:** Jan 20 2024 by [mana vortex](https://app.gitbook.com/u/NfZBoxGegfUqB33J9HXuCs6PVaC3 "mention")\
**Last documented update:** Feb 19 2025 by [mana vortex](https://app.gitbook.com/u/NfZBoxGegfUqB33J9HXuCs6PVaC3 "mention")

This page will teach you how to get Cyberpunk materials into Blender, **baking** the materials to textures. You can use the results for e.g. porting the items to Unreal Engine (these steps won't be covered here).

### Wait, this is not what I want!

* If this is your first time in Blender, check out [blender-getting-started](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/3d-modelling/blender-getting-started "mention")
* If you want to learn more about [configuring-materials](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/materials/configuring-materials "mention"), check the wiki section

## How to get Cyberpunk Shaders into Blender?

Most Cyberpunk shaders are procedurally generated from [mlsetups](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/multilayered#what-is-the-mlsetup) and [mlmasks](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/multilayered#what-is-the-mlmask). As such, there aren't any textures that you can import.

So how is everyone doing it?

This is where the [wolvenkit-blender-io-suite](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/modding-tools/wolvenkit-blender-io-suite "mention") comes in:

* On [export](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-tools/wolvenkit-blender-io-suite/wkit-blender-plugin-import-export#export-from-wolvenkit), Wolvenkit creates a `.material.json` file containing the `.mesh` file's [material setup](https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators-theory/files-and-what-they-do/file-formats/3d-objects-.mesh-files#material-assignment) in a machine-readable form.
* When [importing a .glb](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-tools/wolvenkit-blender-io-suite/wkit-blender-plugin-import-export#importing-into-blender) into Blender, the plugin reads this file and automatically generates a list of materials. After selecting a mesh, you can see all available options in the Materials tab:

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fgit-blob-476aee79d8a6e6a7b0d7a25e80a3e7bcf8986827%2Fblender_materials_tab.png?alt=media" alt=""><figcaption><p>You need to select a mesh first</p></figcaption></figure>

## Blender: Changing the appearance

To change the assigned material, complete the following steps:

1. Select a mesh in Object mode
2. Switch to Edit Mode (hotkey: `Tab`)
3. Select all vertices (hotkey: `A`)
4. In the list on the material tab, select the appearance that you want to display
5. Under the list, click "Apply"
6. Be sure to select "Material Preview" as the Viewport Shading Method (see the screenshot below)

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fgit-blob-b141934d0e8557c5c8b22f51451cacfb71f48744%2Fblender_select_material_new.png?alt=media" alt=""><figcaption></figcaption></figure>

## Blender: Baking Cyberpunk Shaders

### Video guide

{% embed url="<https://youtu.be/zLtgWcygYII>" %}
by Simarilius, thank you <3
{% endembed %}

{% embed url="<https://www.youtube.com/watch?v=NjkdYzLZ7WQ>" %}
by island dancer, thank you <3
{% endembed %}

## Troubleshooting: I can't import my materials!

Please see the [wkit-blender-plugin-troubleshooting](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/modding-tools/wolvenkit-blender-io-suite/wkit-blender-plugin-troubleshooting "mention") page.
