Andy, try:
  TextureAttributes ta = new TextureAttributes();
  ta.setTextureMode(TextureAttributes.MODULATE);
  appearance.setTextureAttributes(ta);

- John Wright
Starfire Research

Andy wrote:
>
> Hi, I just created a virtual universe and a box.  I rotated the box a bit so
> I can view 3 faces of it.  I applied the texture and lights but only the
> texture was working, I didn't see the lights are working.  I applied the
> AmbientLight and PointLight.  When I turned off texture, it was working but
> if I turned it on, only texture was shown.  What would the problem be?  Any
> hints would be appreciated, many thanks.
>
> Andy
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to