# How would I implement render scaling in a DX11 game?

I would like to implement render scaling that could render a scene at a certain % of the window resolution. How would I do this? I've tried resizing a number of things, then resizing them up or down to match the window size but I've never gotten it to work.

• With DirectX 11.1 or later (Windows 7 SP1 with KB 2670838 or Windows 8+) you can use DXGI_SCALING_STRETCH and set your backbuffer to a smaller size than the actual window/display you are using. With UWP or Windows 10 DX12, you can use DXGI_SCALING_ASPECT_RATIO_STRETCH which gives you better behavior that preserves the aspect-ratio of the backbuffer when doing the upscale. – Chuck Walbourn Aug 16 '18 at 23:27