Hi,
I'm trying to use 2 buffers: the first buffer renders a texture for shadows, the size of the texture is 1300*800
The second buffer renders the final program with size 1200*700.
The problem is I cant find a way to change my viewport size to 1300*800 during the texture rendering so it can render the whole texture. Is there a way to change my viewport size during program so the fragment shader can draw the whole texture?






