Texture a 3D model
texture_modelTextures 3D models by applying layered fills, procedural patterns, materials, images, and decals, bakes mesh maps, and exports game-ready textures and meshes.
Instructions
Texture a 3D model with TextureCraft (a Substance Painter-class 3D texture painter): a built-in mesh, your mesh (glb, gltf, fbx, obj, usd, abc, ply, stl) or an existing .tcraft project, then layers from the bottom up: fills (colour, roughness, metallic and procedural patterns such as grunge on height), built-in materials (steel, rust, copper, oak, plastic... or a .tcmat / .mcmat / .mcraft file), pictures projected on a channel, and decals; optionally bakes mesh maps (ambient occlusion, curvature...). Saves the .tcraft project, the textures with an engine preset (glTF, Unreal, Unity, Blender, Godot...) and the mesh with its textures (glb, obj, usdz), and returns a 3D render.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "texture_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yaw | No | Camera yaw in degrees for the picture. | |
| bake | No | Mesh maps to bake first (they drive generators and smart materials). | |
| mesh | No | A built-in mesh (default material_ball when neither mesh_path nor project_path is given). | |
| name | No | File name without extension (a project_path copy keeps its name plus _textured). | model |
| pitch | No | ||
| layers | No | Layers from the bottom up. | |
| preset | No | Which maps and channel packing the textures use. | glTF PBR Metal Roughness |
| formats | No | ||
| mesh_path | No | Absolute mesh file to texture (one texture set per material). | |
| overwrite | No | Replace existing outputs. | |
| output_dir | No | Absolute output folder (default: next to the input; required for new files). | |
| resolution | No | Texture set resolution for a new project. | |
| output_path | No | Absolute output file for the first format (its extension must match). | |
| project_path | No | Absolute .tcraft project to add layers to (saved as a copy). | |
| texture_size | No | Texture size in pixels (power of two; default: the texture set resolution). | |
| texture_format | No |