SetMapAnisotropy
function · terrain · primitive
- Address
0x672650· 35 bytes, up to0x672672- Signature
void __fastcall (uint32_t size)- Meaning
- Stores the map texture anisotropy and its floor log2
- 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 1
- ValidateAnisotropy terrain
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.