Doc > Nodes > MAT > VolumeBuilder

Doc > Nodes > MAT > VolumeBuilder

Creates a Mesh Standard Material, which can be extended with GL nodes.


This node can create children, which will be GL nodes. The GLSL code generated by the nodes will extend the Material. This is experimental.


Name Type Description
color color color
stepSize float stepSize. The smaller the value the more step the shader will make
density float volume density
shadowDensity float volume shadow density
lightDir vector3 this volume material currently can only use a single white light, whose direction is defined by this parameter
setBuilderNode boolean if toggled on, the shader will be built from the gl nodes of another material. This can be useful to have multiple materials use the same gl network, but still set the uniforms differently
builderNode node_path builder node