- Home /
Android - GLES2 - read rendered screen and resample
I'm working in a native Android plugin using GLES 2.0.
I need to access the color buffer of the rendered screen. I don't want to use glReadPixels because the phone resolution is too high and it takes too long.
I want to use that in a sampler in a custom shader, to render it into an FBO with a smaller resolution, in order to make glReadPixels faster.
Is there a way to do that? Is there some master RenderTexture where Unity does it's rendering?
Or is there a way to render all I see in the Unity game into a RenderTexture? I know I can render a camera into a RenderTexture, but can I render all of it? Including UI in screen space.
Thanks!
Your answer
Follow this Question
Related Questions
How to open Android activity from Unity ? 0 Answers
How to access unity's inputfield from android plugin 0 Answers
Why is it required by Unity to have the default Unity3D activities launching in singleTask mode? 0 Answers
Error while adding Android flags 0 Answers
How to extend UnityPlayerActivity 0 Answers