| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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.
--SamOn May 29, 2005, at 12:53 PM, Nat! wrote:
Am 29.05.2005 um 16:58 schrieb Sam Kass:
color = compare(xy.x - x, color, bgColor);
I think the parameters have to be the same size to compile, so I had to write
kern
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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 This email sent to 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.