Gl React Versions Save

gl-react – React library to write and compose WebGL shaders

v3.4.1

6 years ago

fix a bug that Node was not correctly recovering from a previous erroring glsl code. because of this, the glsledit example was not working.

v3.4.0

6 years ago

minor changes

  • gl-react-expo have an incoming feature that supports more texture types (camera,..etc..) using ExponentGLObjectManager.createObjectAsync
  • fix package name in gl-react-native Android release. thanks @kesha-antonov

other

  • the library is now tested on Travis! ☺️
  • some polishes in cookbook-rn
  • a new example example-gl-react-camera-effects (it only runs in expo#HEAD)

v3.3.0

6 years ago

gl-react

  • fix(gl-react): prefer to _addGLNodeChild in DidMount lifecycle, because React 16 have a different didmount<>willmount ordering that was breaking.
  • feat(gl-react): add Node#onDraw func prop to hook to draw events. to address specific usecase where you want to wait a first draw for instance. (DidMount and DidUpdate are not the proper hook, as rendering occur in async in gl-react)

v3.2.1

6 years ago

gl-react-expo

Android: fixes remote images

v3.2.0

6 years ago

gl-react-native & gl-react-expo

Surface now allows to set position in style, in order to override the default position:relative to an absolute.

v3.1.2

7 years ago

fix gl-react-dom standalone build

v3.1.1

7 years ago

fixed missing "events" dep for gl-react-native. by @kesha-antonov https://github.com/gre/gl-react/pull/100

v3.1.0

7 years ago
  • gl-react-expo supports remote images. (Note that all other implementations like gl-react-native was already supporting it, gl-react-expo now have the same feature level)
  • (internal change) gl-react no longer depends on raf library. instead it's provided by implementation. gl-react-dom depends on raf, the RN implementations provides global.requestAnimationFrame – & maybe later there might be a GL related hook (still a draft idea).
  • prettier on the project source code.
  • cookbook-rn and cookbook-expo share a common cookbook-rn-shared project which factorizes 99.9% of the React Native cookbook sourcecode.

v3.0.0

7 years ago

Initial release for the v3. still a work in progress but getting more and more stable.

v3.0.0-alpha.5

7 years ago

we're getting more and more close to a release candidate for the v3.

  • gl-react has been fixed for Firefox (WeakMap don't work with WebGLTexture https://github.com/gre/gl-react/issues/89 )
  • gl-react-native have roughly at least the same level of features as in v2 ( https://github.com/gre/gl-react/issues/74 ) – we've implemented the first support of images (distant, local,..) reusing the RN ImageLoader bricks so we can get the image from cache and also cache it in a byte array data.
  • gl-react-native now also exposes Image and EXGLView so you can literally just do WebGL vanilla with the library. as a proof, here is a Three.js example:
screen shot 2017-03-14 at 20 58 05

There are a bunch of things we want to tackle down (see TODO list file in packages/gl-react-native) before considering gl-react-native "robust" but you can already give it a try if you want. (and giving us feedback).