apply_shader
Create and apply a shader material (noise, gradient, fresnel, etc.) to a specified object or material in Cinema 4D, enabling quick material assignment for scene rendering.
Instructions
Create and apply a specialized shader material.
Args:
shader_type: Type of shader (noise, gradient, fresnel, etc)
material_name: Optional name of material to apply shader to
object_name: Optional name of object to apply the material to
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"shader_type": "<shader_type>"
},
"name": "apply_shader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | No | ||
| shader_type | Yes | ||
| material_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |