Search code examples
c++optimizationdirectxmodels

How do you do LoD in DirectX and C++?


I have a 4 cells loaded up and I want to know how to make it so it displays with low detail. Anyone have any idea on how to do that? I don't need you to do the distance and stuff like that. Just tell me how to put a cell into a low LoD.


Solution

  • (With basic dirextX function)

    For texture, use IDirect3DBaseTexture9::SetLOD
    For mesh, see directx sample named ProgressiveMesh or Tessellation