Skip to main content
GameDev.net gamedev.net
🔒 Locked

Colour and texture

Started by mhearn Dec 5, 2000 at 4:17 PM 1 replies 500+ views
Original Post
mhearn
mhearn
Hi, Could anyone please explain to me the relationship between the current colour and its effects on textures? I know that to make a texture look right it must be set to white, but how do I use this more effectively. In particular, a text system i''ve written that uses textured quads uses the current colour to change the colour of the text (the texture is white) - but I can''t draw black text Can anyone help me with this? thanks -mike
mhearn
mhearn
oops, seems that IE5 sends stuff rather quicker than i thought and hitting escape isn''t enough to stop it. sorry
zedzeek
zedzeek
using GL_DECAL instead GL_MODULATE means the texture is not altered by the previous fragments colour

http://members.xoom.com/myBollux

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.