Resource Docs

.pmat Materials

Resource Map

Perro material resources define MeshInstance3D material profiles and can also be authored inline in scenes.

Key rules

First non-empty entry must be type.

Valid presets: standard, unlit, toon, custom.

Custom materials point at WGSL and optional typed params.

glTF sub-assets can be addressed with :mat[index].

Example

type = "custom"shader_path = "res://shaders/custom.wgsl" params = {    glow = 1.25    tint = (1.0, 0.2, 0.4, 1.0)}

Related Resource Docs

Use these links for adjacent formats or runtime systems used with .pmat Materials.