s_occluderNearDepth
global · terrain
- Address
0xc7b66c· 4 bytes, up to0xc7b66f- Type
float- Meaning
- Holds the view depth from which a chunk may occlude
- Confidence
- verified, proof one
- Finding
- terrain/cull#chunk-visibility
Finding: Chunk visibility in terrain: cull
0x683bf0 walks the frame's candidate chunks: a chunk whose holes word is 0xffff, whose box fails
the frustum, or which the horizon hides, is dropped. With world flag 0x20, a visible chunk
without holes becomes an occluder candidate; the candidates whose view depth lies in
[0xc7b66c, 0xc7d278) add their rows to the horizon, and all join the draw list. Without the
flag every visible chunk joins the draw list directly.
The derivation is in the doc.