/// <inheritdoc/> public override void Create() { // Create the pass... if (m_SSAOPass == null) { m_SSAOPass = new ScreenSpaceAmbientOcclusionPass(); } GetMaterial(); }
/// <inheritdoc/> public override void Create() { // Create the pass... if (m_SSAOPass == null) { m_SSAOPass = new ScreenSpaceAmbientOcclusionPass(); } GetMaterial(); m_SSAOPass.profilerTag = name; m_SSAOPass.renderPassEvent = RenderPassEvent.BeforeRenderingOpaques; }
/// <inheritdoc/> protected override void Dispose(bool disposing) { m_SSAOPass?.Dispose(); m_SSAOPass = null; CoreUtils.Destroy(m_Material); }