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

Result displayed won't update when opacity has changed #72

Open
audifaxdev opened this issue Aug 8, 2016 · 2 comments
Open

Result displayed won't update when opacity has changed #72

audifaxdev opened this issue Aug 8, 2016 · 2 comments

Comments

@audifaxdev
Copy link

Expected: I'd like to fade-In/Out some element
Result: The element is rendered in its initial state without being updated

Workaround : when using TweenMax to update opacity, elements are updated when resizing the browser's window (only for one frame)

Check this repo to illustrate the issue:
https://github.com/audifaxdev/htmlgl-playground

@PixelsCommander
Copy link
Owner

Thanks, will fix asap

@audifaxdev
Copy link
Author

One workaround would be to use HTMLGL.context.updateTextures();

It is however very expensive and makes the frame rate drop.

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

2 participants