Пример #1
0
 protected override void Init(PipelineResources resources)
 {
     hizDepth = new HizDepth();
     hizDepth.InitHiZ(resources);
     linearMat = new Material(resources.linearDepthShader);
     Application.targetFrameRate = int.MaxValue;
 }
Пример #2
0
 protected override void Init(PipelineResources resources)
 {
     hizDepth = new HizDepth();
     hizDepth.InitHiZ(resources);
     linearMat       = new Material(resources.shaders.linearDepthShader);
     linearDrawerMat = new Material(resources.shaders.linearDrawerShader);
 }