assignDensity

beta
raytkVolumes
Keywords:
  • volume
  • volumetric
filter
assignDensity
RayTK
v0.42

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Density Runtime Baked
Fill Mode Runtime Baked
  • Inside:
  • Outside:
  • Everywhere:
  • Surface:
  • Surface Interior Blend Only:
  • Surface Exterior Blend Only:
Offset
Thickness
Blending

Inputs

  • SDF or Volume: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: Sdf Volume
  • Density Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: sdf
    • Supports Variables From Inputs: inputOp1

Variables

  • SDF Surface: