Frank Güttler
2006-05-09 21:23:12 UTC
Hello,
Maybe I have discovered a bug: I like to create a light with the class
Light, then setting the parameters to it, like the ambient value due
light->setAmbient(osg::Vec4()). The Vec4 contains the r,g,b values and w=1.
The blue value hasnt any effect in our simulation, so the ambient light is
always a little bit brown (only red and green mixed). This is not what I
would like to have, a little bit grey instead of brown.
When I want to check the ambient value of the light through osg::Vec4
light->getAmbient(), I get the right blue value which I set before, but I
dont see it.
Is this problem already known? How can I fix it?
Thank you in advance,
Frank Güttler.
Maybe I have discovered a bug: I like to create a light with the class
Light, then setting the parameters to it, like the ambient value due
light->setAmbient(osg::Vec4()). The Vec4 contains the r,g,b values and w=1.
The blue value hasnt any effect in our simulation, so the ambient light is
always a little bit brown (only red and green mixed). This is not what I
would like to have, a little bit grey instead of brown.
When I want to check the ambient value of the light through osg::Vec4
light->getAmbient(), I get the right blue value which I set before, but I
dont see it.
Is this problem already known? How can I fix it?
Thank you in advance,
Frank Güttler.