Scene transparency

I can’t find anywhere how to make the scene transparent so that the elements of the later canvas with threeJS can be seen. For example, on the website https://nuxt.com/ we see a photo of a late canvas with a crystal. I want my canvas not to be a black square with a 3D element inside, I want it to be only a 3D element

Make sure alpha:true is set on your renderer, and make sure you don’t have any “background” styling on your canvas.

1 Like

const renderer = new THREE.WebGLRenderer({ alpha: true });

1 Like