0

I want to use Direct3D to display a texture on screen, not only that I want it to cover the whole window, but I want to be the actual size of the texture (i.e. every pixel on the screen to be mapped on one texel from the texture)

jondoe
  • 358
  • 4
  • 12

1 Answers1

1

Just use a texture with the same screen width and height and a fullscreen quad.

You can also scale the texture, but this is only a bad fix because you make it 1:1 pixel/texel but the quality goes down.

Maybe this will help: Rendering full-screen quads

pearcoding
  • 1,149
  • 1
  • 9
  • 28