multiple textures

I’m starting to learn about WebGL, there are many examples of rotating cube with a single texture. But how do you create multiple textures and bind them to different faces of a cube? (image01=front, image02=back, etc) Are there examples available?

Thanks,
Dan

Hi Dan,

You can probably extract the code you want from QBox, by Sandro Paganotti: http://sandropaganotti.com/qbox-a-webgl-photo-slideshow-for-your-website/

Cheers,

Giles