Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

How to load two images to a card?

4: Adsense

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   

226
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?

#2 shinypixel   Members   

226
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.