UNPKG

gl-react-expo

Version:

React Native via Expo implementation of gl-react, an universal React library to write and compose WebGL shaders

24 lines (15 loc) 905 B
# <img width="32" alt="icon" src="https://cloud.githubusercontent.com/assets/211411/9813786/eacfcc24-5888-11e5-8f9b-5a907a2cbb21.png"> gl-react-expo `gl-react-expo` is the [React Native](https://facebook.github.io/react-native/) via Expo implementation of [gl-react](https://github.com/gre/gl-react), library to write and compose WebGL shaders. ## Camera support You can enable camera support with this: ``` yarn add expo-camera webgltexture-loader-expo-camera ``` and you just need to load the lib in your entry point: ``` import "webgltexture-loader-expo-camera"; ``` ## Links - [Github](https://github.com/gre/gl-react) - [Cookbook, examples, API](https://gl-react-cookbook.surge.sh) - [![Join the chat at https://gitter.im/gl-react/Lobby](https://badges.gitter.im/gl-react/Lobby.svg)](https://gitter.im/gl-react/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)