Laser Index
Provides the identity of the laser currently being rendered. During evaluation, each laser gets its own index, and this node exposes that as a signal. Use it to spread values across a multi-laser setup: different hues, positions, rotations, or scales per projector.
Inputs
This node has no inputs.
Outputs
| Port | Type | Description |
|---|---|---|
| Normalized | Scalar | Laser index as a 0–1 value (0 for first laser, 1 for last) |
| Index | Scalar | Integer laser index (0, 1, 2, …) |
| Count | Scalar | Total number of active lasers |
Ideas
- Wire Normalized into a Color node's hue to spread a rainbow across all your lasers; each projector gets a different color.
- Multiply with a shift value to fan shapes across a stage; each laser offsets its content by a fraction of the total spread.
- Route into an Oscillator's Phase or a Phasor's Offset to stagger animation timing per laser.
Tips
- With a single laser, Normalized always outputs 0. The spread only becomes visible with two or more lasers in the output group.
- Index and Count are integers exposed as scalars. Count stays constant across a frame; Index changes per laser.
Related
- Laser Chase: sequential brightness sweep (uses laser index internally)
- Noise: per-laser variation via the Sync Across Lasers toggle
- Color: convert Laser Index to per-laser hue