HTML-GL
HTML-GL copied to clipboard
Result displayed won't update when opacity has changed
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
Thanks, will fix asap
One workaround would be to use HTMLGL.context.updateTextures();
It is however very expensive and makes the frame rate drop.