- Home /
Question by
Marnix · Feb 08, 2012 at 02:45 PM ·
screendepth-buffer
Get depth buffer size from screen
Is it possible to retrieve the number of depth buffer bits from the screen, so I can copy the number into a new RenderTexture?
// Screen.depth doesn't exist
RenderTexture rt = new RenderTexture(Screen.width, Screen.height, Screen.depth);
Comment
Your answer

Follow this Question
Related Questions
Raycasting Accurately with gun 2 Answers
RenderTexture to capture an area bigger than Screen on IOS 0 Answers
How do you clamp a camera by mobile width? 2 Answers
Get the borders of screen 1 Answer