- Home /
Camera depthbuffer question.
What exactly does unity camera depthbuffer do?
I have a minimap camera and a rendertexture on it.
Currently, my rendertexture's depthbuffer is set to 0 and with such settings, only the map is drawn on the minimap. No player or monster or anything that is not 2D. Even when they are in front of the map.
With depthbuffer set to 8, player and other 3D objects are rendered.
So, what exactly does this depth buffer do in Unity?
Your answer
Follow this Question
Related Questions
Image effects do not work when rendering with multiple cameras 0 Answers
How to get depth texture and render texture from one camera 0 Answers
Rendering to DepthTextureMode.Depth 0 Answers
Is there a way to write to Deferred Depth from a command buffer in CameraEvent.AfterImageEffects? 1 Answer
Multiple cameras, view distances, and the depth buffer 1 Answer