Hi Artur Dont know if the bug I've experienced is related, or if my solution could apply in your case, but anyway ... I have tried to switch the input registers and found out that on some cards, the previous stage input has to be in register #0. I know this is crazy, and shouldnt be the case at all, but after all, those driver-hackers are poorly payed and frustrated ;-)
HTH Wolfgang -----Ursprungliche Nachricht----- Von: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]Im Auftrag von Artur Biesiadowski Gesendet: Donnerstag, 30. Mai 2002 23:46 An: [EMAIL PROTECTED] Betreff: [JAVA3D] Multitexturing combine bug ? 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_STA TE); 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". =========================================================================== 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".
