In order to pause the camera rendering, I am setting the “clearFlags” to “CameraClearFlags.Nothing” and the “cullingMask” to 0. On Windows, this works exactly as expected. On Mac, however, the image flickers very noticeably.
I have a very small test project attached, where a cube continuously moves back and forth. You can click the left mouse button to toggle the two camera settings back and forth. If you’re on Windows, it will pause the rendering as expected. On Mac (standalone or web, but not in the editor) the cube will noticeably jitter.
There’s a web demo here:
http://codecommode.com/unity/CameraTest.html
Does anyone have a guess as to what might be happening, or how I might be able to work around it? I am using this code to freeze the image on screen and then apply some effects using a full-screen shader.
1890658–121668–CameraTest.zip (244 KB)