We perform some WebGL computation using the raw WebGL context (i.e. inside our animation frame callback but before our calls to Three to render the scene etc. We need to use the same context since we use some of the output from that work in three (e.g. some textures). In order to ensure that GL state is in a relatively predictable state before and after our raw context use, we call
This was working great before r118, but it looks like that revision moved the management of attributes out of WebGLState and into WebGLBindingStates, and this means our call to
renderer.state.reset() no longer disables the enabled attributes.
We were wondering if there was a way to clear these attributes with the new structure or, failing that, if you’d be open to us taking a look at how to introduce it with a PR?