| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Geoff Stahl 3D Software Engineer Apple
On Mar 26, 2005, at 5:52 AM, Joshua 'Schwa' Gargus wrote:
Hi,
I'm trying to use the Cg Standard Library noise() function, but it seems to always return zero. I don't have access to a PC right now, so I can't tell if this is a Mac issue.
Here's my test fragment shader:
void main(in float4 inColor : COLOR, out float4 outColor : COLOR) { float3 intensity = abs(noise(2100)) * 10; outColor = float4(intensity, 1); }
_______________________________________________ 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
| References: | |
| >Cg noise() (From: "Joshua 'Schwa' Gargus" <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.