Renderer · const
DEPTH_OFFSET_SIGN
Which way a polygon offset has to push to bring a coplanar overlay forward.
Explained in Hello world.
const DEPTH_OFFSET_SIGN: numberimport { DEPTH_OFFSET_SIGN } from '@driftengine/core';In depth
The sign flips with the compare and forgetting it is silent. POLYGON_OFFSET_FILL adds to
depth; under LESS nearer is smaller, so an overlay is pulled forward with a negative offset,
and under GREATER nearer is larger and the same nudge pushes it behind the surface it is
meant to sit on. The symptom is a marking that disappears into the road rather than a marking
that fights, which reads as a missing draw call.