Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

How do you check if a Camera is rendering nothing?

Discussion in 'General Graphics' started by trenthm, Jan 11, 2019.

  1. trenthm

    trenthm

    Joined:
    Nov 18, 2017
    Posts:
    6
    I'm trying to have cameras automatically disable themselves after a period of being blank. (They are manually enabled.)

    How can you check if a Camera is blank?

    Maybe grabbing the view as a texture and analyzing it? (Seems a bit convoluted, but I'm definitely open to any method.)

    (I asked the question on stackexchange and got some good input, but didn't get an answer: https://gamedev.stackexchange.com/q...f-a-camera-is-rendering-anything-unity-2018-3)
     
    Last edited: Jan 11, 2019