different texture for each face of cube..how..??

Blitz3D Forums/Blitz3D Beginners Area/different texture for each face of cube..how..??

Dr.Fox(Posted 2010) [#1]
Any one can help with this please..
how can i apply different texture in each side of cube or any other mesh
lets say i have created cube with createcube()
can i give each face different texture or different color..?

thank u all

Al


Floyd(Posted 2010) [#2]
This topic comes up occasionally. You need to create a cube with six surfaces. The CreateCube() one has a single surface.

The most recent example I can recall is here: Max Headroom style thing.


K(Posted 2010) [#3]
Just a suggestion, but to make it single surface you could UV map using the VertexTexCoords command using one image. But multi-suface could work too.


fox95871(Posted 2010) [#4]
Try using CreateMesh() and VertexTexCoords, and line up the uvs to different images that are all in the same image file.

Last edited 2010