Material Replacer
1.2.0 ・ Public
Material Replacer
<a href="https://kurotu.booth.pm/items/4023240"> <img alt="Booth" src="https://asset.booth.pm/static-images/banner/200x40_01.png"> </a> <a href="https://github.com/kurotu/MaterialReplacer/releases/latest"> <img alt="Release" src="https://img.shields.io/github/v/release/kurotu/MaterialReplacer"> </a>[ English | 日本語 | Demo (YouTube) ]
Overview
Unity editor extension to replace materials at once by defining replacement rules.
This save the hassle of manually changing materials one by one. It would be useful when applying your own materials to dressed avatars.
This extension is designed for services such as VRChat, but it's usable for any purpose.
Support
Verified Unity versions
- Unity 2019.4.31f1
Setup
There are two options to import the package into your project.
- Download the latest
.unitypackagefrom the release page or Booth. - Add
https://github.com/kurotu/MaterialReplacer.gitfrom UPM.
Usage
Create a MaterialReplacerRule asset
- Right click in project pane, then select Create -> Material Replacer -> Material Replacer Rule.
- Select the created
MaterialReplacerRule.asset. - Add
OriginalandReplacedmaterials in an inspector.- Original: Materials which will be replaced.
- Replaced: Materials which will be applied instead of
Original(When it's None,Originalwill be kept).
ℹ️ You can set
Reference Objectthen pressAdd to Original Materials. It's easier than adding original materials one by one.
Apply materials to a GameObject.
- Select the menu, Window -> Material Replacer to show the Material Replacer window.
ℹ️ You can also select the menu, Material Replacer from the right click menu on a GameObject in the scene.
- Set
Game ObjectandMaterial Replacer Rulein the window. - Press
Apply. - All renderers' materials of
Game Objectand its descendants will be replaced byMaterial Replacer Rule.
License
The MIT License.
Contact
- VRCID: kurotu
- Twitter: @kurotu
- GitHub: kurotu/VRCQuestTools
Keywords
No keywords found.Install via VCC
Package ID
com.github.kurotu.material-replacerUnity Version
2019.4Unity Release
undefinedVRChat Version
undefinedAuthor
kurotu
License
undefined
Documentation URL
undefined
Changelog URL
undefined