reset(); } );
    
    this.typeItem = gui.getSceneFolder().add(this.par, 'lm', this.par.lm_options);
    this.typeItem.onChange( function(value) { snelly.reset(); } );

    gui.addSlider(this.par, {name: 'R', min: 0.0, max: 2.0});
    gui.addSlider(this.par, {name: 'background', min: 0.0, max: 1.0})
}

Scene.prototype.syncShader = function(snelly, shader)
{
    shader.uniformF("R", this.par.R);
    shader.uniformF("background", this.par.background);
}


</script>

<?/* -------------------------------------