I'm currently learning about three.js and working my way through the documentation. I'm struggling to understand the meaning behind the following explanation, could someone provide some assistance?
When you manually create the WebGL 2 rendering context, you must also provide all necessary context attributes. Keep in mind that once the context is created, these attributes cannot be modified, so passing them to the WebGLRenderer will not have any effect.
var canvas = document.createElement( 'canvas' );
var context = canvas.getContext( 'webgl2', { alpha: false } );
var renderer = new THREE.WebGLRenderer( { canvas: canvas, context: context } );