Exemple #1
0
 public override void Cleanup()
 {
     Utilities.Destroy(m_ProceduralSkyMaterial);
 }
Exemple #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);
 }
Exemple #3
0
 public override void Build()
 {
     m_ProceduralSkyMaterial = Utilities.CreateEngineMaterial("Hidden/HDRenderPipeline/Sky/SkyProcedural");
 }