createMaterials
Generate multiple 3D materials with customizable properties like base color, opacity, roughness, and texture maps. Use this tool within the 3D-MCP server for streamlined material creation in digital content workflows.
Instructions
Create multiple Materials
Input Schema
Name | Required | Description | Default |
---|---|---|---|
items | Yes | Array of Materials to create |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"items": {
"description": "Array of Materials to create",
"items": {
"additionalProperties": false,
"properties": {
"alphaCutoff": {
"default": 0.5,
"description": "Alpha cutoff threshold",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"alphaMode": {
"default": "OPAQUE",
"description": "Alpha rendering mode",
"enum": [
"OPAQUE",
"MASK",
"BLEND"
],
"type": "string"
},
"baseColor": {
"default": [
1,
1,
1,
1
],
"description": "Base color [r, g, b, a]",
"items": {
"type": "number"
},
"maxItems": 4,
"minItems": 4,
"type": "array"
},
"doubleSided": {
"default": false,
"description": "Whether material is rendered on both sides",
"type": "boolean"
},
"emissive": {
"description": "Emissive color [r, g, b]",
"items": {
"type": "number"
},
"maxItems": 3,
"minItems": 3,
"type": "array"
},
"emissiveIntensity": {
"description": "Emissive intensity multiplier",
"minimum": 0,
"type": "number"
},
"metadata": {
"additionalProperties": {},
"description": "Additional tool-specific metadata",
"type": "object"
},
"metallic": {
"description": "Metallic factor",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"name": {
"description": "Display name",
"type": "string"
},
"normalScale": {
"description": "Normal map intensity",
"type": "number"
},
"opacity": {
"default": 1,
"description": "Opacity factor",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"roughness": {
"description": "Roughness factor",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"shaderParameters": {
"additionalProperties": {},
"description": "Additional shader-specific parameters",
"type": "object"
},
"textures": {
"additionalProperties": {
"type": "string"
},
"description": "Material texture maps by type",
"propertyNames": {
"enum": [
"baseColor",
"normal",
"metallic",
"roughness",
"emissive",
"ambientOcclusion",
"height",
"opacity"
]
},
"type": "object"
},
"type": {
"description": "Material type/shader model",
"enum": [
"standard",
"pbr",
"lambert",
"phong",
"toon",
"custom"
],
"type": "string"
}
},
"required": [
"name",
"type"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}