Inconsistent renderer extension

I have two different three.js projects that are running this line of code in the same browser (Firefox).

I’m very confused because, one project prints true, while the other prints false. What exactly is determining whether this extension is supported or not??? Is it not the browser?

Note: This extension is only available to WebGL1 contexts. In WebGL2, the functionality of this extension is available on the WebGL2 context by default. The constant in WebGL2 is gl.UNSIGNED_INT_24_8 .

Can you paste the renderer = new THREE.WebGLRenderer( { … } ) construction for both projects?

the options passed in for both renderer constructions are {antialias: true}

also, it seems like they are printing false now and matching up? I have no clue why they were not matching before…

1 Like