-----Urspr�ngliche Nachricht----- Von: Alessandro Borges [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. M�rz 2003 19:20 An: [EMAIL PROTECTED] Betreff: Re: [JAVA3D] BlendFunc(DST_COLOR,ZERO) ?
... cut ... >BUT > BlendFunc ( DST_COLOR, ZERO ); >does this: >myBlendedPoly = myPolygon * background + background * 0; >or >myBlendedPoly = myPolygon * background ; >... cut ... >* Has Java3D a way to have a similar effect given by glBlendFunc (GL_DST_COLOR, GL_ZERO ) ? If the result is myPolygon * background, that's a plain modulate formula: >From TextureAttributes apidocs: COMBINE_MODULATE C' = C0 C1 Is that what you want ? You can control the source & destination colors with: Combine Color Source - defines the source for a color operand in the combine operation Cheers, Florin ==========================================================================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".
