title: DirectX 11 texture filter linear/point flicker
body: <p>I wrote a small <strong>DirectX 11</strong> application on <strong>Windows 10 x64</strong> using <strong>C++</strong>.
  Now I want to render some low resolution textures (e.g. 16px * 16px) without loosing it's sharpness on magnifications <em>(how in games like Terraria)</em>.
  So the only options I see are making the sprite textures high resolution or change the sampler state from <strong>D3D11_FILTER_MIN_MAG_MIP_LINEAR</strong> to <strong>D3D11_FILTER_MIN_MAG_MIP_POINT</strong>.
  The former is not an option for me because I want to save video memory and not wasting it for redundant information.
  But the second approach cause some new problem.
  If I move a textured rectangle using this sampler I get an annoying flicker.</p>
  
  <p><strong>Point:</strong><br>
  <a href="https://i.stack.imgur.com/SH8di.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SH8di.gif" alt="enter image description here"></a></p>
  
  <p><strong>Linear:</strong><br>
  <a href="https://i.stack.imgur.com/cTvkx.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cTvkx.gif" alt="enter image description here"></a></p>
  
  <p><strong>Point:</strong><br>
  <a href="https://i.stack.imgur.com/aaUVS.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aaUVS.gif" alt="enter image description here"></a></p>
  
  <p><strong>Linear:</strong><br>
  <a href="https://i.stack.imgur.com/aaUVS.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mt8zq.gif" alt="enter image description here"></a></p>
  
  <p>After thinking about it I came to the result that using <strong>D3D11_FILTER_MIN_MAG_MIP_POINT</strong> will always cause this flicker.
  The following image illustrates how I understood point filtering and also shows the reason for flicker.
  On it one can see an horizontal sampling process, using point filtering, from an low resolution textured rectangle moving to the right.</p>
  
  <p><a href="https://i.stack.imgur.com/wl59F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wl59F.png" alt="enter image description here"></a></p>
  
  <p>I did not post any code because I think this issue is not related to any specific code and would not help at all.
  So if I am wrong with this assumption please tell.<br>
  <strong>Finally the question is how I can fix this or what alternatives are left?</strong></p>