VBO with few textures?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
LarryTM
Posts: 30
Joined: Tue Jul 04, 2006 4:05 am
Contact:

VBO with few textures?

Post by LarryTM »

Hi,

I have cube with different texture on each side. I put the cube data into VBO and then what ? How to bind right texture to right side of a cube ? Do i need to create VBO for each side and then bind texture and draw side one by one?

/lar
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Re: VBO with few textures?

Post by Raphael »

LarryTM wrote:Do i need to create VBO for each side and then bind texture and draw side one by one?

/lar
Yes.
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Post Reply