Original Post
Hi all! I'm making a pixel editing software using Direct 3D. When I magnify the bitmap (in our case, a texture), additionnal pixels get interpolat/blur. How can I disable this? I tried this without the result I want: m_pd3dDevice->SetSamplerState(0, D3DSAMP_MIPFILTER, D3DTEXF_NONE); m_pd3dDevice->SetSamplerState(0, D3DSAMP_MAGFILTER, D3DTEXF_NONE); supose I have a texture color: 1,4 1,4 I want a 200% stretch with a result like this: 1, 1, 4, 4 1, 1, 4, 4 1, 1, 4, 4 1, 1, 4, 4 But instead, I have some kind of filtering stretch 1, 2, 3, 4 1, 2, 3, 4 1, 2, 3, 4 1, 2, 3, 4 thanks you beaucoup :) Joe.