truffle Posted January 3, 2018 Share Posted January 3, 2018 hello, I have a little probleme and i can't find things about this. I want to activate transparancy of my png, I have already activated gl.BLEND and disactivated gl.DEPTH_TEST but it still does't work if someone could help me, thanks in advance. (I just use webgl) Quote Link to comment Share on other sites More sharing options...
truffle Posted January 4, 2018 Author Share Posted January 4, 2018 I found the solution i missed that part gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.