← Back to context

Comment by ge96

2 days ago

Yeah now if they can go ahead and make ThreeJS line thickness be more than 1 that'd be greeattttt....

edit: this is a joke about "OpenGL Core Profile with the WebGL renderer" which I'm not sure if Chrome (browser) would be responsible for

https://threejs.org/docs/index.html#api/en/materials/LineBas...

const material = new THREE.LineBasicMaterial( { color: 0xffffff, linewidth: 1, linecap: 'round', //ignored by WebGLRenderer linejoin: 'round' //ignored by WebGLRenderer } );

  • yeah it says on that page "Due to limitations of the OpenGL Core Profile with the WebGL renderer on most platforms linewidth will always be 1 regardless of the set value." anyway yeah I was trying to be snide

    • Ah, I see. Seems like there's a bunch of 2D cruft in the graphics hardware that hasn't been touched since 3D became possible.

I think you need to expand on the edit even more for this to make sense.

  • I think this change seems funny to me how late it is, front-enders at this point are used to making their own customizable drop downs. But standardization is nice I suppose. And the cross browser support thing.