unity_configure_shader
Configure Unity material shader properties by providing JSON overrides for Poiyomi, lilToon, UTS2, or Standard shaders.
Instructions
Configure shader properties on a Unity material. Supports Poiyomi, lilToon, UTS2, and Standard shaders.
Parameters:
project_path: Unity project path
material_name: Name of the material to configure (or .mat asset path)
shader_name: "poiyomi", "liltoon", "uts2", "standard" (default: "poiyomi")
properties_json: JSON of property overrides. Format depends on shader: Poiyomi: {"_MainTex": "Assets/Tex/body.png", "_Color": "1,0.9,0.8,1", "_EnableEmission": 1} lilToon: {"_MainTex": "...", "_Color": "...", "_ShadowColor": "0.8,0.7,0.7,1"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shader_name | No | poiyomi | |
| project_path | No | ||
| material_name | No | ||
| properties_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |