On Fri, 21 May 2004 15:20:27 -0700 "Mark Cass" <[EMAIL PROTECTED]> wrote:
> guys, > > after reading documentation and looking in the code i noticed that the savage chip > has two texture units. when does the second texture unit do its thing? i placed > printfs in both sections of code (tex0 and tex1) and i only see the first unit doing > anything. my test apps do not use multiple textures on a surface, is this what the > second unit is for? Yes. The code in savagetex.c is pretty ugly at the moment. There are two separate functions to set the state of texture unit 0 and 1 respectively. They are mostly copy-paste. But some details WRT blending the two textures are different. BTW, only Savage4 and newer has 2 texture units. Savage3D/IX/MX has only one. > > mark | Felix K�hling <[EMAIL PROTECTED]> http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id�66&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
