Erik Hofman wrote:

> Vivian Meazza wrote:
> 
> > AC3D seems to add the material colour to the texture
> 
> No, it's OpenGL that does this. With everything related to modeling you 
> have to take into account the possibilities and requirements of OpenGL, 
> and not that of your 3d modeler program.

To be exact, it is PLIB that sets the texture environment to GL_MODULATE.
It has the effect of ***multiplying*** the material color with the 
texture colors. So, if you set a black color (0,0,0), it would stay 
black because 0 * X = 0. If you want your texture unmodified by the
material color, set it to white (1,1,1). The only way to have a 
emissive effect on an object is to set an emissive material color 
( for example white ) and modulate it with the texture :
black in the texture -> black on object, 
yellow in the texture -> emissive yellow on the object.

-Fred



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to