I cannot get lighting to work with on texture mapped GeometryArrays (such as 
TriangleStripArrays)
in Java3D.  The same arrays are lit when they do not include textures.  I am using

  TextureAttributes.setTextureMode(TextureAttributes.REPLACE);

(the other modes don't seem to work for me).  I see my textures, but the shading is 
flat.

Can anyone suggest what I'm doing wrong, or point to an example that has lit textures?

Also, I cannot seem to make transparency in my texture maps, even with:

  new BufferedImage(texture_width, texture_height, BufferedImage.TYPE_INT_ARGB);

Thanks for any advice,
Bill Hibbard
[EMAIL PROTECTED]


=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to