Studio Yotsuba
Back to Node List

Solid Set Material

solid_set_material

Overrides the material and color of every primitive in the solid.

Reviewed
Guide available

Input Ports

NameTypeDescription
Solid
solid
Solid
Required
Solid to modify.

Output Ports

NameTypeDescription
Solid
solid
Solid
Modified solid.

Parameters

NameTypeDefaultRangeDescription / Options
Color
color
Color
[0.6200000047683716,0.6399999856948853,0.699999988079071,1]—

Base color used when rendering this solid.

Material ID
material_id
Text
core:default—

Material id carried into the rendered Surface.

Overview

Overrides the material ID and color of every primitive in a solid at once. Use it to make an assembled solid uniformly stone or metal, or reuse the same shape with different colored materials.

  • Coordinate system: z-up (x right, y back, z up). Dimensions are in units (converted to pixels at render time with pixels_per_unit).

Usage tips

  • A shortcut for recolor variants is to branch several Set Material nodes downstream of one completed solid. This creates a stone tower and an ice tower from the same shape without editing the geometry again.
  • Material IDs matter in downstream Surface processing after rendering (separate colors and textures by material). Use a convention such as core:stone that matches downstream processing.
  • To change materials selectively, set each primitive's color / material_id on its generation node before combining. This node applies one override globally.

Related nodes

  • solid_render — destination that inherits the material IDs
  • surface_assign_material — manipulate materials after rendering
  • solid_combine — assemble the target of the global change

Examples

Change an assembled solid uniformly to stone, metal, or another material.

Back to Node List