Advertisement

Changin texture map colours

Started by March 14, 2004 07:47 PM
2 comments, last by OnANeedToKnow 20 years, 11 months ago
im trying to change the colour of a texture map but it seems to just stay its origninal colour. I think there is some sort of glEnable/diable command to solve this but i dont know what it is???
glColour.

if you have lighting enabled, you need to also enable:

glEnable(GL_COLOUR_MATERIAL);

| - My project website - | - email me - |
Advertisement
quote:
Original post by RipTorn
glColour.

if you have lighting enabled, you need to also enable:

glEnable(GL_COLOUR_MATERIAL);

| - My project website - | - email me - |


In my gl.h it is glColor and GL_COLOR_MATERIAL...

EDIT: close quote font tag

[edited by - Tree Penguin on March 15, 2004 6:03:48 AM]
Tree Penguin: Run it through Anglicizer. That''ll fix it .

Enigma

This topic is closed to new replies.

Advertisement