Projected-density thinning predicate. Mirrors GLSL luxarDensityDropped()
(glsl-lib.ts) bit for bit: the storage index is run through the lowbias32
integer hash, mapped to [0, 1) and compared against uDensityDrop, the
fraction of the node's elements to drop. A pure arithmetic expression, so it
is safe both inside and outside an Fn() body (see the note on
sortedIndexNode). Zero drops nothing.
Projected-density thinning predicate. Mirrors GLSL
luxarDensityDropped()(glsl-lib.ts) bit for bit: the storage index is run through the lowbias32 integer hash, mapped to [0, 1) and compared againstuDensityDrop, the fraction of the node's elements to drop. A pure arithmetic expression, so it is safe both inside and outside anFn()body (see the note onsortedIndexNode). Zero drops nothing.