|
|
|
|
|
|
depthRTDesc.colorFormat = RenderTextureFormat.Depth; |
|
|
|
depthRTDesc.depthBufferBits = kDepthStencilBufferBits; |
|
|
|
|
|
|
|
cmd.GetTemporaryRT(CameraRenderTargetID.depth, depthRTDesc, FilterMode.Bilinear); |
|
|
|
cmd.GetTemporaryRT(CameraRenderTargetID.depth, depthRTDesc, FilterMode.Point); |
|
|
|
cmd.GetTemporaryRT(CameraRenderTargetID.depthCopy, depthRTDesc, FilterMode.Bilinear); |
|
|
|
cmd.GetTemporaryRT(CameraRenderTargetID.depthCopy, depthRTDesc, FilterMode.Point); |
|
|
|
|
|
|
|
m_ShadowPass.InitializeResources(cmd, baseDesc); |
|
|
|
} |
|
|
|