blender_material_preview_render
Render a material preview on a chosen shape (sphere, cube, plane, or cylinder) using EEVEE or Cycles, and return the output image path.
Instructions
Render a material preview on a standard shape. Creates a temporary scene with the chosen shape, assigns the material, renders it, and returns the output path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | Render engine (default: EEVEE) | |
| resolution | No | Render resolution in pixels, used for both width and height (default: 512) | |
| output_path | No | Output file path (default: /tmp/material_preview_<name>.png) | |
| material_name | Yes | Name of the material to preview | |
| preview_shape | No | Shape to render the material on (default: SPHERE) |