- Home /
disable camera rendering?
Hi, I want to blank my camera during scene change (and few other instances.. to prevent "junk" videos while aligning the camera etc). But I don't want to disable the camera themselves (The camera position etc are used by other scripts). Is there a way in unity to just disabe rendering withotu disabling the camera itself?
Answer by Eric5h5 · Jan 07, 2016 at 09:58 PM
No, since if you're not rendering anything, the pixels are all undefined (might be black, or gray, or garbage, depending on OS, drivers, etc.). You can simply render a black quad with an unlit shader in front of the camera; probably easiest to use a UI image.
HI, Thanks for responding.. Presently that's what I'm doing.. putting a plane in front of the camera "Hiding" everythign else... But I am looking for an eleganet solution.. Like "Turn Render Off"...
This is the elegant solution. As I mentioned, you can't turn off rendering.
Using "CutScene" Video UI.. and my issue is solved. (No "Blank", but "CutScene" is not bad). $$anonymous$$arking this as Solved.