I am taking screenshot using
Texture2D tex = new Texture2D(width,height);
Rect textureRect = new Rect(0,0,width,height);
tex.ReadPixels(textureRect,0,0);
tex.Apply();
It works fine. But when I apply an Image Effect on the camera such as blur or bloom provided in Unity Standard Assets the screenshot captured is black. I do not understand why. Can anybody help me on this?
Use Application.CaptureScreenshot to take a screenshot.
Application.CaptureScreenshot("Screenshot.png");
If you want to display it ingame, i would recommend using a RenderTexture, which I think is available for free since Unity5.