Changing the size of the depth rendertarget in any technique XML breaks the viewport result. Is this supposed to happen? Is there a better way to resize the depth image, ideally using nearest-neighbour interp?
Example: sizedivisor = “2 2”
Changing the size of the depth rendertarget in any technique XML breaks the viewport result. Is this supposed to happen? Is there a better way to resize the depth image, ideally using nearest-neighbour interp?
Example: sizedivisor = “2 2”
Are you sizedividing all render targets or just depth? If your pass is outputting multiple render targets they all have to be same size.
Well the default renderpaths only have one rendertarget, depth
Oh, yeah, there is also default rendertarget. So you should add an “rgba” rendertarget (assuming, you are not going to use HDR, in that case “rgba16f”) set it as output for all scenepasses, then add quad command with CopyFramebuffer shader, that will read your lowres rendertarget, and output it to default rendertarget.
This seems to have worked, thanks
Wooo! gimme that tasty “solved” badge.