Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Is it possible to do Camera Snipping?

Discussion in 'Scripting' started by abamz_93, May 25, 2015.

  1. abamz_93

    abamz_93

    Joined:
    Apr 19, 2013
    Posts:
    2
    Hi fellow Unity Developers.
    Before all sorry if I have this question at the wrong section.

    As titled, is it possible to achieve snipped camera (diagonally cut render instead of the original box render) as the image below? (White lines is only for separation)
    Is it possible to achieve this through scripting?

    Hologram View Ports 2.jpg

    Above image is achieved by placing four cameras pointing to the object as shown below:

    Hologram Achieve View Ports.JPG

    Your response is hugely appreciated. Thanks.
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Use rendertextures.

    --Eric
     
  3. abamz_93

    abamz_93

    Joined:
    Apr 19, 2013
    Posts:
    2
    I tried and it worked. Thanks alot!