Skip to main content

INK_STROKE

Constant INK_STROKE 

Source
const INK_STROKE: [u8; 4];
Expand description

The ink the opaque ticks carry: the bytes the segment stream holds, which the fragment writes into a linear target before it is encoded.

The band’s colour reaches the shader as a float and is quantized to bytes on the way in, so the stroke states the quantized bytes rather than the floats again: two colours that look alike in the source would otherwise differ by a few counts on screen and the scene would show two inks.