示例#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);
 }