Comments (6)
Check my fork armenbadalyan@830b213
It makes GLSurfaceView transparent at the cost of placing it above everything else on that view.
from react-native-webgl.
+1
renderer.setClearColor (0x000000, 0);
works just fine on iOS, anybody got an idea why it won't work on Android?
from react-native-webgl.
+1
from react-native-webgl.
I'm also trying to get this done. Is there any way to do this? If I simply render an empty webglView with
gl.enable( gl.BLEND );
gl.blendEquationSeparate( gl.FUNC_ADD, gl.FUNC_ADD );
gl.blendFuncSeparate( gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA );
gl.colorMask(true, true, true, true);
gl.clearColor(0.0,0.0, 0.0, 0.0);
gl.clear(gl.COLOR_BUFFER_BIT);
// ignore texture drawing for this test
// gl.drawArrays(gl.TRIANGLES, 0, 3);
gl.flush();
rngl.endFrame();
all I get is a black background.. Any suggestions?
from react-native-webgl.
Yeah, Iām about to look for somebody on Upwork or something, this is a dealbreaker for an app I was working on..
from react-native-webgl.
is this problem fixed in current expo GLView implementation? If yes, maybe worth trying to port latest stuff. actually maybe you guys want to take a look at #63 . i have very few time to work on this & maintain this right now, but hopefully I'll have more during this summer
from react-native-webgl.
Related Issues (20)
- [RN 0.56] example doesn't work on debug remotely HOT 1
- [RN 0.56] API level upgraded to 26 in RN, clean install errors
- canvas.toDataURL() equivalent?
- IOS 12 with Xcode 10 Beta? HOT 8
- [Android] Project cannot be build with latest NDK HOT 14
- Is this project dead? HOT 6
- Not working with latest react-native HOT 32
- Error compiling Execution failed for task ':react-native-webgl:buildRNWebGLLib HOT 3
- Could not find @ReactModule Annotation in fr.greweb.rnwebgl.RNwebGLTextureloader HOT 1
- What's the story between this and expo unimodules? HOT 7
- [Android] Project crashs on RN 0.58 HOT 3
- downloadJSCHeaders not working HOT 2
- META: What happens when OpenGL support is fully removed from iOS
- Can I use canvas 2D API? HOT 1
- React Native 0.60 support HOT 2
- Error on build, react-native 0.60 HOT 9
- 'React/RCTViewManager.h' file not found HOT 5
- Current status of react-native-webgl HOT 11
- RNWebGL context creation failed HOT 2
- Please support version 60 now
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-webgl.