|
|
|
|
|
|
|
|
|
|
void RenderDBuffer(Vector3 cameraPos, ScriptableRenderContext renderContext, CommandBuffer cmd) |
|
|
|
{ |
|
|
|
using (new ProfilingSample(cmd, "Decals", GetSampler(CustomSamplerId.DBuffer))) |
|
|
|
// Currently disabled
|
|
|
|
return ; |
|
|
|
|
|
|
|
using (new ProfilingSample(cmd, "DBuffer", GetSampler(CustomSamplerId.DBuffer))) |
|
|
|
{ |
|
|
|
CoreUtils.SetRenderTarget(cmd, m_DbufferManager.GetDBuffers(), m_CameraDepthStencilBufferRT, ClearFlag.Color, CoreUtils.clearColorAllBlack); |
|
|
|
cmd.SetGlobalTexture(HDShaderIDs._MainDepthTexture, GetDepthTexture()); |
|
|
|