Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GL_COMBINE 2 Textures



On Nov 3, 2004, at 12:06 PM, bsupnik wrote:
This all gets a lot trickier if you want (100% of A + 30% of B) * local_lighting...

On that note, is there a clever way to interpolate two textures and then modulate by local vertex lighting, in one pass with two texture units, on a Rage128? I ask the list because this is a current question on idevgames. Obviously you can do it with crossbar but that isn't available on all hardware.



I don't know about the crossbar extension

About crossbar, I just tried it out in the lab yesterday, and it appears to work on all nvidia cards despite not being exported. Now, I understand that the reason for not exporting the extension is due to wording of the invalid/unbound texture case, and this is resolved in the 1.4 spec by saying that the behavior is undefined. However the current nvidia drivers only implement GL 1.1 or 1.3, so is it really safe to use TEXTUREn sources? Or must I fool around with texture combiners to be safe?



thanks, -alex

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.