Example #1
0
        protected override void DrawCore(RenderContext context, RenderDrawContext drawContext)
        {
            using (drawContext.PushRenderTargetsAndRestore())
            {
                VoxelRenderer?.Draw(drawContext, ShadowMapRenderer_notPrivate);
            }

            base.DrawCore(context, drawContext);
        }
Example #2
0
 protected override void CollectCore(RenderContext context)
 {
     VoxelRenderer?.Collect(Context, ShadowMapRenderer_notPrivate);
     base.CollectCore(context);
 }