- Home /
 
 
               Question by 
               Mister-E · Jul 15, 2012 at 08:31 PM · 
                cameratransparencysplit screen  
              
 
              Apply transparency depending on camera
Hi, I have 2 cameras, split screen. I want on the first camera, player 1 to be semi transparent and player 2 fully visible, and the opposite on the player 2 camera, how would I go about this?
edit: Solved. I created a script with the OnPreRender and OnPostRender functions. In PreRender I set the transparency of the player, and on PostRender I reset it.
               Comment
              
 
               
              Please, post your own answer as an answer and mark it as correct. Welcome to Unity Answers.
Your answer
 
             Follow this Question
Related Questions
How to make an object transparent in script? 3 Answers
Fading grass? 0 Answers
Unity Camera and transform? 1 Answer
Camera Transparency 1 Answer
Is this an efficient way of changing a material by script? 0 Answers