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; }
public VertexFactory(EngineContext ctx) { context = ctx; this.texSampler = new TextureSamplingManager(ctx.Scene.TextureSamplingQuality); }