Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using face deformer with transparent PNG image #44

Closed
smukkejohan opened this issue May 9, 2015 · 0 comments
Closed

Using face deformer with transparent PNG image #44

smukkejohan opened this issue May 9, 2015 · 0 comments

Comments

@smukkejohan
Copy link
Contributor

I guess this is a feature request to enable the face deformer to work with a png with transparency as a mask. I was looking through the code and couldn't quite figure why it is not working as it is parsing the texture on as RGBA as far as I can see.

Update: read up on the differences between webgl and opengl here http://www.html5rocks.com/en/tutorials/webgl/webgl_fundamentals/#toc-webglalpha and proposed a fix. I tested that it works with both transparent png's and with all of the existing images in the face mask example.

@smukkejohan smukkejohan changed the title Using face deformer with transparent image Using face deformer with transparent PNG image May 9, 2015
@auduno auduno closed this as completed in 6946bab Nov 27, 2016
auduno added a commit that referenced this issue Nov 27, 2016
Fix for transparent PNG's Fixes #44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant