Also don't forget to set your texture attribute:
ta.setTextureMode(TextureAttributes.MODULATE);
This will "mix/blend" the texture with the material colors.

- John Wright
Starfire Research

Zak Nixon wrote:
>
> I think that the Material object of the shape that you apply the texture to
> must be set to a very bright color, like WHITE.
>
> Try it and see if it works.....
>
> ~Z
> ----- Original Message -----
> From: "olivier deruelle" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, October 01, 2001 3:01 PM
> Subject: [JAVA3D] lighted textures
>
> Hi everybody,
>
> Anybody knows about how applying lights on textures ?
> I already managed to light the default objects as for example a sphereor a
> box but
> when I try to light a textured object nothing happens: the texture is not
> lighted.
> Maybe I missed to call a special function to apply on. And I didn't find any
> examples processing
> of this subject.
> Thank you for your help.
>
> ______________________________________________________
> Boîte aux lettres - Caramail - http://www.caramail.com
>
> ===========================================================================
> 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