HTML-GL icon indicating copy to clipboard operation
HTML-GL copied to clipboard

Result displayed won't update when opacity has changed

Open audifaxdev opened this issue 8 years ago • 2 comments

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

audifaxdev avatar Aug 08 '16 00:08 audifaxdev

Thanks, will fix asap

PixelsCommander avatar Aug 08 '16 07:08 PixelsCommander

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

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

audifaxdev avatar Aug 09 '16 00:08 audifaxdev