-
Notifications
You must be signed in to change notification settings - Fork 74
Alpha Background on android #41
Comments
+1
|
+1 |
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? |
Yeah, I‘m about to look for somebody on Upwork or something, this is a dealbreaker for an app I was working on.. |
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 |
Check my fork armenbadalyan@830b213 |
Is there a way to have transparent surface background on android ?
The text was updated successfully, but these errors were encountered: