Adirondack wrote:Can someone tell me something about the directive 'BlendTexture' -> true | false ?
Chris? Is this obsolete?
What did it do in former versions?
If set to true, the color will be combined with the texture by multiplying (or 'modulating' in OpenGL terminology.)
For example, if you have a black and white texture and specify BlendTexture true, the object will be colored with various shades of the object color. If the object color is white ([ 1 1 1 ], the default), BlendTexture will appear to have no effect. This is because you're multiplying each component of each texel by one, the identity operation.
I don't think that two many people use BlendTexture. Usually, you don't want to modify the texture color. The one place that I have seen BlendTexture used is with asteroids: the basic asteroid color is black and white, and BlendTexture true is used to tint it with the asteroid color.
--Chris