wix-incubator / kampos

Tiny and fast effects compositor on WebGL

Home Page:https://wix-incubator.github.io/kampos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If a media source is set on an effect after calling setSource a texture will not be created

ydaniv opened this issue · comments

Somehow make setting a media source on an effect (e.g: displacement.map = image) not break during .play() because the texture for it was not created.
Currently textures are created implicitly after calling .setSource() or explicitly by calling ._createTextures().