benilla-re systems structs docs

ValidateAnisotropy

function · terrain · orchestration

Address
0x689110 · 219 bytes, up to 0x6891ea
Meaning
Accepts an anisotropy from 1 to 16 within the device limit, sets or clears world flag 0x80000000 and stores it
Confidence
verified, proof one
Finding
terrain/render#texture-detail-bias

Finding: Texture detail bias in terrain: render

The map textures (chunk layers and liquid frames) are made with linear filtering and the nearest mip level (filter index 3 of the Direct3D table 0x85c7d8), repeat wrapping and the anisotropy of the anisotropic setting. A setting above 1 also sets world flag 0x80000000, and the chunk pass and the map object pass then set the sampler bias of stages 0 to 3 to 0.25; the scene driver resets all four to 0. The detail doodad pass sets stage 0 to 0.25 whatever the setting.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

Calls and jumps by a bare address, from tables/calls.tsv.