How to pass a uniform sampler2D (texture) to a shader program on HTML5?

Hi all,

I’m referring to this question:

Seems like there are a few posts on the same question against cocos2d-js, but no answers yet. :frowning:


Can any one share solutions if they have overcome this problem before?

1 Like