colour and texture mapping problem
Hi
I have texture mapping and colour problems in my application - they don''t seem to display as they should any ideas?
cheers
We need alot more information than that to help you...
Death of one is a tragedy, death of a million is just a statistic.
Death of one is a tragedy, death of a million is just a statistic.
If at first you don't succeed, redefine success.
what do you mean by "as they should" ?
Do you expect the colours (from either glColor ot lighting) and texture fragment to blend on a different way of what you''re looking at ?
At first sight, two things to test, IMO :
1- make sure you don''t use glColor to colorize you scene if lighting is enabled, unless you use GL_COLOR_MATERIAL.
2- check the texture environment parameters, eg call glTexEnv
But python_regious and TheGilb are right : we need more details to help you.
Do you expect the colours (from either glColor ot lighting) and texture fragment to blend on a different way of what you''re looking at ?
At first sight, two things to test, IMO :
1- make sure you don''t use glColor to colorize you scene if lighting is enabled, unless you use GL_COLOR_MATERIAL.
2- check the texture environment parameters, eg call glTexEnv
But python_regious and TheGilb are right : we need more details to help you.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement