Need help on using more than one texture!
Hi All,
Does anybody know how to load two different textures at the same time? Using NeHe''s tutorial 6 but it is alittle unclear how I should do this.
Many thank in advance
Could you reformulate the question ?
I don''t understand what you really want !
I don''t understand what you really want !
Make textures (global var) an array of two.
Replicate the loading code before the
return 0;
but switch the path you pass as a param for LoadBMP.
Also change
Maybe you should look at MSDN about the APE function called. IMO, the NeHe tutors are very clear and easy to understand.
EDIT: And things about NeHe belong the NeHe Productions.
[edited by - LordLethis on January 15, 2003 12:08:52 PM]
Replicate the loading code before the
return 0;
but switch the path you pass as a param for LoadBMP.
Also change
texture[0]
to texture[1]
Maybe you should look at MSDN about the APE function called. IMO, the NeHe tutors are very clear and easy to understand.
EDIT: And things about NeHe belong the NeHe Productions.
[edited by - LordLethis on January 15, 2003 12:08:52 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement