quantizeCoords

filter
quantizeCoords
RayTK
v0.36

Quantize coordinates to a 3D grid, which is sort of like “voxelizing” the space.

Parameters

  • Enable:
  • Size:
  • Size Multiplier:
  • Offset:
  • Smoothing:
  • Smoothing Multiplier:

Inputs

  • definition_in: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle