- Home /
 
 
               Question by 
               naked_chicken · Apr 27, 2014 at 06:54 PM · 
                camerashadersceneviewdepthdepth-buffer  
              
 
              Scene View Camera Depth Texture?
Searching for the answer I came across this answer link text
On my object I'm using:
 void OnWillRenderObject ()
     {
         Camera.current.depthTextureMode = DepthTextureMode.Depth;
     }
 
               But still getting this: 
I'm guessing that means that indeed the scene cameras still can't write depth but just wanted to be sure.
 
                 
                why.jpg 
                (10.3 kB) 
               
 
              
               Comment
              
 
               
              Your answer