- Код: Выделить всё
d3ddevice.SetTextureStageState 0, D3DTSS_MIPFILTER, 2
d3ddevice.SetTextureStageState 0, D3DTSS_MAGFILTER, 2
d3ddevice.SetTextureStageState 0, D3DTSS_MINFILTER, 2
d3ddevice.SetTextureStageState 1, D3DTSS_MIPFILTER, 2
d3ddevice.SetTextureStageState 1, D3DTSS_MAGFILTER, 2
d3ddevice.SetTextureStageState 1, D3DTSS_MINFILTER, 2
Если D3DTSS_MIPFILTER, 1, то все нормально, а если 2 или 3, то какие-то точки в мип уровнях.
Вот TSS текстур, может тут что-то не то:
- Код: Выделить всё
d3ddevice.SetTextureStageState 0, D3DTSS_COLORARG1, D3DTA_TEXTURE
d3ddevice.SetTextureStageState 0, D3DTSS_COLORARG2, D3DTA_DIFFUSE
d3ddevice.SetTextureStageState 0, D3DTSS_COLOROP, D3DTOP_MODULATE
d3ddevice.SetTextureStageState 0, D3DTSS_ALPHAARG1, D3DTA_TEXTURE
d3ddevice.SetTextureStageState 0, D3DTSS_ALPHAARG2, D3DTA_DIFFUSE
d3ddevice.SetTextureStageState 0, D3DTSS_ALPHAOP, D3DTOP_SELECTARG1
d3ddevice.SetTextureStageState 1, D3DTSS_TEXCOORDINDEX, 1
d3ddevice.SetTextureStageState 1, D3DTSS_COLOROP, D3DTOP_MODULATE2X
d3ddevice.SetTextureStageState 1, D3DTSS_COLORARG1, D3DTA_TEXTURE
d3ddevice.SetTextureStageState 1, D3DTSS_COLORARG2, D3DTA_CURRENT
d3ddevice.SetTextureStageState 1, D3DTSS_ALPHAARG1, D3DTA_TEXTURE
d3ddevice.SetTextureStageState 1, D3DTSS_ALPHAARG2, D3DTA_DIFFUSE
d3ddevice.SetTextureStageState 1, D3DTSS_ALPHAOP, D3DTOP_SELECTARG1