// 텍스쳐 퀄리티 상승
g_pd3dDevice->SetSamplerState( 0, D3DSAMP_MAGFILTER, D3DTEXF_LINEAR );
g_pd3dDevice->SetSamplerState( 0, D3DSAMP_MINFILTER, D3DTEXF_LINEAR );
//D3DTEXF_NONE = 0, // filtering disabled (valid for mip filter only)
//D3DTEXF_POINT = 1, // nearest
//D3DTEXF_LINEAR = 2, // linear interpolation
//D3DTEXF_ANISOTROPIC = 3, // anisotropic
//D3DTEXF_PYRAMIDALQUAD = 6, // 4-sample tent
//D3DTEXF_GAUSSIANQUAD = 7, // 4-sample gaussian
'예전 > 3D' 카테고리의 다른 글
[OPENGL] quaterinion (0) | 2013.09.24 |
---|---|
플레이어 따라다니는 카메라 (0) | 2013.02.27 |
[3D] AABB(Axis Aligned Bounding Box) (0) | 2013.02.21 |
OptimizeInplace (0) | 2013.02.15 |
[3D] 수면 파동 (0) | 2013.01.18 |