Exemplo n.º 1
0
 public override void Cleanup()
 {
     Utilities.Destroy(m_ProceduralSkyMaterial);
 }
Exemplo n.º 2
0
 public override void SetRenderTargets(BuiltinSkyParameters builtinParams)
 {
     // We do not bind the depth buffer as a depth-stencil target since it is
     // bound as a color texture which is then sampled from within the shader.
     Utilities.SetRenderTarget(builtinParams.renderContext, builtinParams.colorBuffer);
 }
Exemplo n.º 3
0
 public override void Build()
 {
     m_ProceduralSkyMaterial = Utilities.CreateEngineMaterial("Hidden/HDRenderPipeline/Sky/SkyProcedural");
 }