Cody Bennett

Results 325 comments of Cody Bennett

For background into Webpack's behavior, [`sideEffects`](https://webpack.js.org/configuration/optimization/#optimizationsideeffects) only optimizes module imports/exports -- this has no effect when everything is bundled into a single file (see https://github.com/webpack/webpack/issues/9337#issuecomment-507074474). Also see [Clarifying tree shaking...

Stumbled across this lib/issue in earlier research and thought I'd share my solution. Think of std140 like Tetris, but you're filling equal chunks of memory to 16 bytes: - primitives...

I am happy to help champion compute and readPixels APIs if we can find a reasonable design to work with (related: #14503, #21934). I have experimented with transform feedback ([example](https://gist.github.com/CodyJasonBennett/34c36b91719171c45ec50e850dc38a34))...

Not much, I've seen similar in react's scheduler, etc. ```js if ( typeof window.queueMicrotask !== 'function' ) { window.queueMicrotask = function ( callback ) { Promise.resolve() .then( callback ) .catch(...

What happens if WebGPU camera matrices are used in WebGL? I'm not sure I understand the relationship between the back-end's clipping space and the resulting projection matrices.

I did this with r133 but with r134 three swapped over to the fetch API under the hood which react-native's polyfill doesn't implement correctly (no streaming, blob/array buffer support). Maybe...

@wiulma, I'd see the [react-native](https://docs.pmnd.rs/react-three-fiber/getting-started/installation#react-native) example in the docs. You'd roll back three to r133 for full compatibility as described here though.

@wiulma, react 18 isn't released yet so it won't resolve but you can pass `--legacy-peer-deps` to skip through.

I went and polyfilled loader behavior in #1994 so loaders should behave correctly with and without useLoader. Only loader not covered is `THREE.ImageBitmapLoader` which doesn't seem useful for native (all...

Yes, what's happening on Android?