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_STATE); 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. Artur =========================================================================== 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".
