Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
roughness: 1,
color: new THREE.Color(e.data.plane.color[0], e.data.plane.color[1], e.data.plane.color[2]),
}));
// ground.material.shadowCatcher = true;
ground.scale.set(100, 100, 1);
scene.add(ground);
init();
});
function updateComposer() {
sharpenPass.uniforms.sharpness.value = renderConfig.sharpness;
composer.render();
}
const pane = new Tweakpane({
container: document.querySelector('#config'),
title: 'Render Config'
});
pane.addButton({
title: 'Stop Render'
}).on('click', () => {
stopRender();
});
// const denoiseFolder = pane.addFolder({
// title: 'Denoise'
// });
// denoiseFolder.addInput(renderConfig, 'denoise', {
// label: 'Enable'
// }).on('change', () => {
// denoiserPasses.forEach(pass => {