Using two different textures in one shader

Hi, I’m trying to bind two textures to the uniform sampler2d defined in any shader program
that I load using GLProgram::create...

How can I bind two different textures, one to CC_Texture0 and one to CC_Texture1 and use them both simultaneously in one shader?

Thanks!!

1 Like