Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-17-2008, 12:15 PM   #1 (permalink)
New Member
 
Join Date: Aug 2008
Location: Italy
Posts: 9
Default Draw Text in OpenGL ES

Hi all,
I tried to use the Texture2D class included in the CrashLanding Example but i saw that I can't set the color of the text (it draws only white text).
How can i set the color of the text or exists another method to draw text with OpenGL ES?
Morpheus1986 is offline   Reply With Quote
Old 08-17-2008, 02:02 PM   #2 (permalink)
New Member
 
Join Date: Aug 2008
Location: Italy
Posts: 9
Default

I solved the problem.
For those who have ths problem:

before drawing the texture which contains the text I set the color with glColor4f(r,g,b,a).
Morpheus1986 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 158,761
Threads: 89,201
Posts: 380,570
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jam3skn0
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:37 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0