|
Hi everybody:
I have a problem with lights and the material of
the object.
The first thing I do is to set the Appearance of an
object. I create a new Appearance, then I create a new Material and set the
color of the material with setAmbientColor, setDifusseColor and setEmissiveColor
to the color I have chosen.
When I add a light to the scene, for example a red
light, the effect over the object (for ex. a sphere with white appearance) is
that nothing is seen. If I set the sphere's color to another one (blue) then the
light appears, but the reflection is always white...
What am I doing bad?
Thanks and cheers.
Dani. |
- Re: [JAVA3D] Lights problem Dani F.
- Re: [JAVA3D] Lights problem Vladimir Vernikovski
