Is Camera.render() exactly render one frame to RenderTexture completely?
I set camera.enabled = false
, and use camera.Render()
render the camera manually, then i get the GL texture id by renderTexture.GetNativeIntPtr()
, processing this texture in my native code!
But sometimes camera.Render()
not render completely, and the GL texture content same with the last render frame! Is there any solutions let camera.Render()
exactly complete?
I used Texture2D.ReadPixels()
, and it's works! but ReadPixels()
is too slow! ....
Your answer
![](https://koobas.hobune.stream/wayback/20220612092442im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to overlay an image onto device camera(android and iOS camera, realtime) 0 Answers
Problem with Target Texture 0 Answers
Help with RenderTexture 0 Answers
How to not show different light sources in different cameras 0 Answers
Proper SetTargetBuffers usage with Deferred rendering in unity 5.5 (possible problem?) 1 Answer