protected override void Init(PipelineResources resources) { hizDepth = new HizDepth(); hizDepth.InitHiZ(resources); linearMat = new Material(resources.linearDepthShader); Application.targetFrameRate = int.MaxValue; }
protected override void Init(PipelineResources resources) { hizDepth = new HizDepth(); hizDepth.InitHiZ(resources); linearMat = new Material(resources.shaders.linearDepthShader); linearDrawerMat = new Material(resources.shaders.linearDrawerShader); }