Skip to main content
Glama

createMaterial

Create custom materials for 3D scenes by defining properties like color, roughness, metalness, and opacity to apply realistic surface appearances to objects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sceneIdYesScene ID
nameYesMaterial name
typeYesMaterial type
colorNoBase color (hex)
roughnessNoSurface roughness (0-1)
metalnessNoMetalness factor (0-1)
opacityNoOpacity (0-1)
transparentNoWhether the material is transparent
wireframeNoWhether to render as wireframe
emissiveNoEmissive color (hex)
emissiveIntensityNoIntensity of emission
sideNoWhich side to render
flatShadingNoUse flat shading
propertiesNoAdditional properties

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aydinfer/spline-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server