How to change the canvas black color to white. This is the code. I want to change its color to white or transparent.
I tried suggestions from this question but nothing has worked from the suggested answers.
var renderer = new THREE.WebGLRenderer({ alpha: true });
renderer.setClearColor( 0xffffff, 0);
Can someone help me how to change the color to white or transparent