override public void PostProcess(RenderDrawContext drawContext, LightFalloffs LightFalloff)
 {
     if (mipmapperSharp == null)
     {
         PrepareMipmapShaders();
         mipmapperHeuristic[0] = mipmapXP;
         mipmapperHeuristic[1] = mipmapXN;
         mipmapperHeuristic[2] = mipmapYP;
         mipmapperHeuristic[3] = mipmapYN;
         mipmapperHeuristic[4] = mipmapZP;
         mipmapperHeuristic[5] = mipmapZN;
     }
     base.PostProcess(drawContext, LightFalloff);
 }
        virtual public void PostProcess(RenderDrawContext drawContext, LightFalloffs LightFalloff)
        {
            if (mipmapperSharp == null)
            {
                PrepareMipmapShaders();
            }
            switch (LightFalloff)
            {
            case LightFalloffs.Sharp:
                storageTex.PostProcess(drawContext, mipmapperSharp); break;

            case LightFalloffs.PhysicallyBased:
                storageTex.PostProcess(drawContext, mipmapperPhysicallyBased); break;

            case LightFalloffs.Heuristic:
                storageTex.PostProcess(drawContext, mipmapperHeuristic); break;

            default:
                throw new InvalidOperationException("Cannot call PostProcess on voxel texture with unknown LightFalloff type.");
            }
        }