Jump to content
  • Advertisement

Archived

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

Hellhound

Using multiple objects with and without textures

This topic is 5584 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

Hi all, i try to write a small demo to test my OpenGL skill. But first i have a questions after some tests: How can i create multiple objects with and without textures? In the test environment i''ve implement a sky box, which is the first object i render. After the rendering, i will put some solid objects and textured objects in this box. The problem is, that all objects (quadrics) in the box are rendered with the skybox-Texture, why? I''ve tryed several things, but after the first use of glBindTexture all other Objects will use that texture, but it is nessesary that only a part of them will textured, the others must be solid and only gets some color values... Knows anybody a solution? Thanks in advance, Christian

Share this post


Link to post
Share on other sites
Advertisement

  • 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!