fieldVolume
beta
raytkVolumes volume
fieldVolume
RayTK
v0.42
Creates a Volume based on a density field, and an optional color field.
Volumes must have a density, so the density input is required, but color is optional.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Enable Color | Whether to assign a color, using either the parameter or the color field input. | Runtime | Baked |
Color | Runtime | Baked |
Inputs
-
Density Field: (required) Float field that provides the density for the volume.- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float
- Coordinate Types:
-
Color Field: (optional) Vector field that provides the color for the volume.- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4
- Coordinate Types: