Advertisement Jump to content

Archived

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

Blizz

engine textures

This topic is 6787 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!