Valenvrc - MPB Editor
1.1.0 ・ Public
Val's Material Property Block Udon Editor (VMPBUE) tool.
This tool is desgined to help you asign and apply material property blocks on your vrchat scene.
Installation
You can download the latest version of the tool from the releases page or get it directly on your VCC/Alcom from my package listing.
Usage
- Drag and drop mesh renderers into the editor script to access and modify the different properties of their materials.
- Hit Apply (or Apply to All) button to preview the result.
- Hit Export to Udon button to create a new UdonBehaviour on your scene that will automatically asign the material property blocks upon loading the scene.
Why use material property blocks instead of different materials?
Material Property Blocks (MPBs) let you override material properties per renderer without touching the shared material asset. Compared to changing material properties directly or creating multiple materials, they provide clear advantages:
- No material instancing: Changing a material at runtime creates a unique instance, increasing memory usage. MPBs avoid this entirely.
- Better batching & GPU instancing: Objects can still share the same material and be batched or GPU-instanced, improving draw-call performance.
- Lower memory footprint: One material, many visual variations (colors, floats, textures) without duplicating materials.
- Safe runtime changes: Modifying materials directly can unintentionally affect all objects using that material; MPBs are isolated per renderer.
Keywords
toolmaterialmaterial property blockeditorudonvrchat
Install via VCC
Package ID
com.valenvrc.vmpbueUnity Version
2022.3Unity Release
22f1VRChat Version
undefinedAuthor
License
undefined
Documentation URL
undefined
Changelog URL
undefined