Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


How to load two images to a card?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 shinypixel   Members   -  Reputation: 162

Like
0Likes
Like

Posted 26 July 2014 - 11:02 PM

I'm making a card matching game. When the user flips a card, the texture on the opposite side has the picture to match.

I loaded a texture to a GL_QUAD, and it currently shows the matching picture on both sides.

A) How can I have OpenGL render to just one side for the matching picture?

B) How do I add another texture to the back side of the card?

Sponsor:

#2 shinypixel   Members   -  Reputation: 162

Like
0Likes
Like

Posted 27 July 2014 - 12:03 AM

Hi, I got it. I found a similar thread on here:

http://www.gamedev.net/topic/510917-texture-only-one-side-of-polygon/




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS