Hi,
Is it possible to take screenshots bigger than screen size ?
Edited:
I wrote this script but when I change my size to something bigger than screen size it don't work. It seems unity wants to capture from screen itself not the renderTexture.
import System.IO;
var width : int = 2048;
var height : int = 2048;
function Start()
{
var rt : RenderTexture = new RenderTexture(width,height,0);
rt.width = width;
rt.height = height;
rt.format = RenderTextureFormat.ARGB32 ;
camera.targetTexture = rt;
camera.Render();
print (rt.width);
print (rt.height);
var tex = new Texture2D (width, height, TextureFormat.ARGB32, false);
tex.ReadPixels (Rect(0, 0, width, height), 0, 0);
tex.Apply ();
var bytes = tex.EncodeToPNG();
Destroy (tex);
File.WriteAllBytes(Application.dataPath + "/../SavedScreen.png", bytes);
camera.targetTexture = null;
}