예제 #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);
 }