layoutGrid

layoutGrid

combine
layoutGrid
RayTK
v0.36

Slices space into a grid, and places each input in a separate cell.

This is useful to see several different variations of a shape. The input shapes are shifted to the center of their cell.

Parameters

  • Enable:
  • Layout: How to arrange the cells.
    • Row: Slice space into cells horizontally. The first cell extends off infinitely to the left and the last cell extends infinitely off to the right.
    • Column: Slice space into cells vertically.
    • Grid Rows: Slice space into 4 cells arranged in a grid.
  • Plane: The plane along which to arrange the cells.
    • YZ:
    • ZX:
    • XY:
  • Size: The size of the cells
  • Pre Scale: Scales the inputs within their cells.

Inputs

  • Input 1: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • Input 2: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • Input 3: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle
  • Input 4: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle