Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Blizz

engine textures

This topic is 6690 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m still working on my engine and it''s going very well, but I am now at the point I want to add some more textures.. The NEHE tutorial on textures uses only _1_ texture, but my engine will have at least 30 and I don''t know how to manage all these textures efficiently... Please give me some tips! Blizz

Share this post


Link to post
Share on other sites
Advertisement
Why don''t you make an array to hold the textures number??
you want 30 textures..

GLuint texture[30];

in the Bind and gentexture, use texture

hope this helps

Bruno

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!