|
|
|
|
|
|
using UnityEngine.Rendering.PostProcessing; |
|
|
|
using UnityEngine.Profiling; |
|
|
|
|
|
|
|
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
using UnityEditor; |
|
|
|
#endif
|
|
|
|
|
|
|
} |
|
|
|
ConfigureForShadowMask(enableBakeShadowMask, cmd); |
|
|
|
|
|
|
|
InitAndClearBuffer(hdCamera, enableBakeShadowMask, cmd); |
|
|
|
InitAndClearBuffer(hdCamera, enableBakeShadowMask, cmd); |
|
|
|
|
|
|
|
RenderDepthPrepass(m_CullResults, hdCamera, renderContext, cmd, true); |
|
|
|
|
|
|
|
RenderDBuffer(hdCamera.cameraPos, renderContext, cmd); |
|
|
|