I am new to working with three.js and recently came across a codepen that caught my attention. However, I am facing difficulties while trying to change the background color.
After exploring various questions related to this issue, I attempted to add { alpha: true}
to the
renderer = new THREE.WebGLRenderer();
as suggested in this post: Transparent background with three.js
My objective is to achieve a transparent background for the
<div class="page-content"></div>
element. Any assistance will be greatly appreciated!
You can find the codepen here: https://codepen.io/ramsaylanier/pen/raybzy