You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey, thanks for the awesome library. one question -- is there a way to update the uniforms of my custom effects realtime without recompiling the shader?
for example, in this code, I want to change the value of $0 from another component in the scene. I can do so by setting this.el.sceneEl.setAttribute('effects', [newEffectString])
but this causes the shader to recompile.
The text was updated successfully, but these errors were encountered:
hey, thanks for the awesome library. one question -- is there a way to update the uniforms of my custom effects realtime without recompiling the shader?
for example, in this code, I want to change the value of
$0
from another component in the scene. I can do so by settingthis.el.sceneEl.setAttribute('effects', [newEffectString])
but this causes the shader to recompile.
The text was updated successfully, but these errors were encountered: