modifyDistance

beta
filter
modifyDistance
RayTK
v0.42

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Mode Runtime Semi-Baked
  • Add:
  • Multiply:
  • Replace:
Mix

Mix between the original distance and the original distance.

Runtime Baked

Inputs

  • SDF: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Volume Ray Light Particle
  • Value Field: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float Sdf
    • Supports Variables From Inputs: sdf_definition_in

Variables

  • SDF Surface:
  • SDF Distance: