public Renderer2D(Renderer2DData data) : base(data)
 {
     m_Render2DLightingPass = new Render2DLightingPass(data);
     m_PostProcessPass      = new PostProcessPass(RenderPassEvent.BeforeRenderingPostProcessing);
     m_FinalBlitPass        = new FinalBlitPass(RenderPassEvent.AfterRendering, CoreUtils.CreateEngineMaterial(data.blitShader));
 }
Exemplo n.º 2
0
 public _2DRenderer(_2DRendererData data) : base(data)
 {
     m_Render2DLightingPass = new Render2DLightingPass(data);
 }