Hi, I want to change my render target texture size at runtime and for the last few days I’ve been searching all over the internet and unfortunately nothing useful come out.
This is what I’ve done so far:
I tried both setting a texture parameter value and setting an effect material to a retainer box component, but all I get is a black screen and not the objects that the scene capture component ‘sees’. I guess its because the source material texture stays the same and the one I’m creating with ‘Create Render Target 2D’ is never used?
I dont know if is possible to change render target Texture Size at runtime but maybe you can create a new render target with the new size you want and just ‘paste’ the old target and destroy?
I didn’t used render canvas a lot but as you can draw/paint/capture on them I suppose you can transfer the information from one canvas to another and destroy the oldest.