public ComposableWorldSampler(int minBounces, int maxBounces, INormalDistribution nd, IGeometricShadow gs, IFresnelFunction f, World world) { _world = world; _context = new ShadingContext(minBounces, maxBounces, nd, gs, f); }
public ShadingContext(int minDepth, int maxDepth, INormalDistribution ndf, IGeometricShadow gsf, in IFresnelFunction ff)