Question by
appleorbit · Mar 13, 2018 at 11:44 PM ·
camerarendering
How to reset Camera.SetTargetBuffers
After setting RenderTexture with Camera.SetTargetBuffers, I want to reset so that I draw it in back buffer again. Is the following code correct?
m_Camera.SetTargetBuffers (Display.main.colorBuffer, Display.main.depthBuffer);
If this code is run with ExecuteInEditMode, it will not be drawn on the screen with the "Allow MSAA" ON in camera. Perhaps it seems that a buffer different from the AA drawing buffer is specified. I would like you to tell me a good solution.
Comment
Your answer
Follow this Question
Related Questions
Rendering viewmodel over everything WITHOUT dual camera 1 Answer
Object is out of the sceene but fps is low 0 Answers
Black line in my game. 0 Answers
Why does everything render in the scene editor, but not after I build it? 0 Answers
How do I fix my camera rendering really weird (I do not know what to call it)? 0 Answers