-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am doing terrain transitions through multitexturing. When I use to textures
per shape, everything works fine, however when I add a third, only the third
is displayed. The base texture is non transparent and on top of this textures
should multiple transparent textures added. I am using the following texture
appearanche for them:

transparent = new TextureAttributes();
        transparent.setTextureMode(TextureAttributes.COMBINE);
        transparent.setCombineRgbMode(TextureAttributes.COMBINE_REPLACE);

transparent.setCombineRgbSource(0,TextureAttributes.COMBINE_TEXTURE_COLOR);
        transparent.setCombineAlphaMode(TextureAttributes.COMBINE_REPLACE);

transparent.setCombineAlphaSource(0,TextureAttributes.COMBINE_TEXTURE_COLOR);

when I add a third texture, only the third texture is visible. The transparent
areas of that texture are drawen black. What are the correct texture
attribute settings?

- --
Andreas Bauer
[EMAIL PROTECTED]

May the penguin be with you!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE87oxjaHjQVZOZP3YRAvNdAJwMR6E2Fy3GzuXEydXsgcPkSfQGQwCgkWrl
xiF05D43PNfEqnPPfqJAZnM=
=o3bS
-----END PGP SIGNATURE-----

===========================================================================
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