(may be a) BUG in EmissiveColor / AmbientColor
Posted: Thu Apr 06, 2006 7:27 am
Hi!
I've a lot of meshes I've texturized with LithUnwrap, setting for each matherial this parameters:
Diffuse: 255,255,255 (white)
Ambient: 192,192,192 (light gray)
Emissive: 0, 0, 0 (black)
Specular: ---different colors---
...then I wrote a function that gets all SceneNodes and all materials (pseudocode):
The output shows something strange in these parameters:
- the diffuse color is ok
- the ambient color is white (255,255,255) for each material.
- the emissive color is light gray (192,192,192) exactly as the model Ambient color
- the specular color is ok.
Is this a bug in Irrlicht? ...in LithUnwrap?
Thanks for answers,
Fabio
I've a lot of meshes I've texturized with LithUnwrap, setting for each matherial this parameters:
Diffuse: 255,255,255 (white)
Ambient: 192,192,192 (light gray)
Emissive: 0, 0, 0 (black)
Specular: ---different colors---
...then I wrote a function that gets all SceneNodes and all materials (pseudocode):
Code: Select all
for each ISceneNode in the Scene
{
print DiffuseColor \t
print AmbientColor \t
print EmissiveColor \t
print SpecularColor \n
}
- the diffuse color is ok
- the ambient color is white (255,255,255) for each material.
- the emissive color is light gray (192,192,192) exactly as the model Ambient color
- the specular color is ok.
Is this a bug in Irrlicht? ...in LithUnwrap?
Thanks for answers,
Fabio