Hello Daniel,

> Do you have lighting enabled?  Without lighting the material properties
> don't come into play.

Yes, I have one point light in the scene and it is enabled. I can see the
lighting applied to the sphere (it is shaded and the lightest point is where
the light hits directly).

- When I call setColor(1, 0, 0, 1) on the drawable, the shading goes from red to
black.
- When I don't, or when I try to add a material to the geode or its transform,
the shading goes from white to black.

Thanks,

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to