Jump to content
  • Advertisement


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


Troubles with textures

This topic is 6062 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 could not understand how load textures to video memory, and select them. I''ve read lots of FAQ, but it doesn''t change anything. At first, i''m read texture to buffer wich specified by this type: typedef struct nsRGB { BYTE Red, Green, Blue; }; and create texture primitive glGenTexture glTexImage2d and bind this texture, but when i create polygon with this texture, i see it with out texture mapping.

Share this post

Link to post
Share on other sites
do you send u,v coords for your texture along vertex position data?

With best regards,
Mirek Czerwiñski

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!