Documentation / Node reference / mat nodes

mat/VolumeSurface

Creates a material drawing a volume as a solid surface.

Volume

Draws the surface where a volume's field crosses isoValue, lit and shadowed like a mesh. Nothing is meshed, so edits show at once. A distance volume is drawn this way without this node, which tunes the look. Not drawn in a browser on WebGL.

Parameters

Name Type What it does
fieldSource UInt8 ATTRIBUTE · TEXTURE Where the field comes from.
texture NodePath The TEX node holding the 3D texture.
channel UInt8 R · G · B · A Texture channel holding the field.
attribute AttributeName Attribute holding the field.
inside UInt8 ABOVE · BELOW Which side of isoValue is solid.
isoValue Float Field value at the surface. Positive grows a distance shape.
colorAttribute AttributeName Optional vector attribute holding a colour per voxel.
color Color Surface colour. The colour attribute multiplies it.
roughness Float 0 is a mirror finish, 1 a broad matte sheen.
metallic Float 0 is non-metal, 1 is metal tinted by its colour.
stepScale Float Fraction of each distance the ray moves. Lower is safer.
maxSteps UInt32 Most steps per ray. Too few shows holes.
debugView UInt8 NONE · NORMAL · STEP_COUNT Shows normals or step counts instead of shading.
environmentMode UInt8 AUTO · GLOBAL · PARAM · NONE Where the environment map comes from.
envMap NodePath Environment map, lighting the surface from every direction.
envIntensity Float Strength of the environment lighting. 0 turns it off.
envColor Color Tint of the environment lighting.
sides UInt8 FRONT · BACK · BOTH Which side of each triangle is drawn.

Examples

Scenes you can open in the editor that teach this node.

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.