On Thursday 30 May 2002 23:46, you wrote:
> Does combine works correctly for multipass texturing ?
>
> I have Geforce 256 (I think it can do 2 stages in one pass). Everything
> works as it should up to second stage. But in third stage I have
> problem. COMBINE mode seems to ignore previous texturing stage. For
> example, AFAIK,
>
> ta.setTextureMode(TextureAttributes.COMBINE);
> ta.setCombineRgbMode(TextureAttributes.COMBINE_MODULATE);
> ta.setCombineRgbSource(0,TextureAttributes.COMBINE_TEXTURE_COLOR);
> ta.setCombineRgbFunction(0,TextureAttributes.COMBINE_SRC_COLOR);
> ta.setCombineRgbSource(1,TextureAttributes.COMBINE_PREVIOUS_TEXTURE_UNIT_ST
>ATE); ta.setCombineRgbFunction(1,TextureAttributes.COMBINE_SRC_COLOR);
>
> should have exactly the same effect as
>
> ta.setTextureMode(TextureAttributes.MODULATE);
>
> But when it is used as 3rd stage, it works exactly as REPLACE - ignores
> previous stage.

I am doing something similarly. I am using COMBINE_REPLACE instead and the
blackdown linux version. However as long as I add only two textures, these
shapes are drawn white first. When I have luck, they are drawn en correctly
after some camera movement. But when I add three textures, only the third
texture is drawn. I asked for this on the list already, but I got no answer.

Are there any good docs about the combine mode?

--
Andreas Bauer
[EMAIL PROTECTED]

May the penguin be with you!

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