Original Post
I did some research on downsampling recently but couldn't find a clear answer, it almost feels like everybody thinks it's too simple to mention..
Currently my way of doing downsampling is to draw a smaller textured quad to a smaller render target.
So if I want to downsample my diffuse map which is 1280x720, to a quarter sized texture. I will have to draw a 640x360 textured quad to a 640x360 render target. and I'm not sure if it's the right way.
Also, if I want to render my scene onto a render target of a different size, do I modify the SV_Position inside the shader or change the projection transformation, or is there some other way to do it?
Currently my way of doing downsampling is to draw a smaller textured quad to a smaller render target.
So if I want to downsample my diffuse map which is 1280x720, to a quarter sized texture. I will have to draw a 640x360 textured quad to a 640x360 render target. and I'm not sure if it's the right way.
Also, if I want to render my scene onto a render target of a different size, do I modify the SV_Position inside the shader or change the projection transformation, or is there some other way to do it?