Question by
kashif789us · Jan 22, 2016 at 10:36 AM ·
texturetexture2dscreenshotbloomimage-effects
Black screen capturing screenshot
Hello. 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?
Comment