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