Example #1
0
 public SurfaceSampler(RayEngineScene scene, bool notFillLight = true)
 {
     this.scene = scene;
     this.vm = new VolumeSampler(scene);
     this.vmSampler = new VolumeMaterialSampler();
     this.texSampler = new TextureSamplingManager(scene.TextureSamplingQuality);
     this.notFillLights = notFillLight;
 }
Example #2
0
 public VertexFactory(EngineContext ctx)
 {
     context = ctx;
     this.texSampler = new TextureSamplingManager(ctx.Scene.TextureSamplingQuality);
 }