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);
}
Thanks,
Josh
_______________________________________________
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