on-internet
← Community

URPの_CameraDepthAttachmentと_CameraDepthTextureの違い

Zenn ·

URPのFrame Debuggerを見ると、一定条件で _CameraDepthAttachment と _CameraDepthTexture が現れます。同じ画面の深度を扱うこの2つには、どのような違いがあるのでしょうか。 DepthAttachmentは描画中の深度テストと書き込みに使います。DepthTextureは、シェーダーが深度を読み取るためのリソースです。Frame DebuggerとMemory Profilerで両者を確認し、URP 17.6.0でDepthTextureがどのように用意されるかを追います。さらにAndroid実機で、描画中のDepthAttachm...

Comments

Sign in or sign up to comment and upvote.

No comments yet.