Log inGet started
Package

neonTrack.shader

Newest version

README.md

neonTrack

A glowing rainbow race ribbon for racingKit's neon surface. The hue runs along the track and drifts slowly with time over dark glossy glass, with light bands: bright edge lines, a dashed centre line, forward-sweeping chevrons and a faint grid. mode = 1 turns it into a solid glowing trim of the same rainbow, which the neon kerbs and light rails wear.

It reads the mesh UV as (lateral metres from the centre line, metres along the track), which is how racingKit lays out its road meshes. Properties: glow (emission strength), period (metres per rainbow), speed (rainbow drift per second), half_width (half the road width) and mode.