| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Am 29.05.2005 um 20:27 schrieb Sam Kass:
Ah, you're right.... try something like: float val = xy.x - x; vec4 comp = vec4(val, val, val, 1.0); color = compare(comp, color, bgColor);
I think it tests for each component of the array, not sure though.
Thanks
Nat!
------------------------------------------------------
Certainly there is no hunting like the hunting of man,
and those who have hunted armed men long enough and
like it, never really care for anything else
thereafter. -- Hemingway_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.