Jump to content
  • Advertisement


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


Using multiple objects with and without textures

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

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!