Skip to main content Link Menu Expand (external link) Document Search Copy Copied

quantizeCoords

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
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle