I'm sure this is a stupid problem.
I wanted to use noise instead of a texture for doing marble, but it always gives a compilation error.
//---------------- the line in the code
/objVertex is vec4
float o=noise(objVertex);
//----------------
ERROR: 0:65: 'noise' : no matching overloaded function found
ERROR: 1 compilation errors. No code generated.
and no matter what I try, it always gives that same error
//ERROR
float o=noise(vec3(objVertex));
//ERROR
float o=noise(vec2(objVertex));
//ERROR
float o=noise(float(objVertex));
//ERROR
vec3 o=noise(vec3(objVertex));
and so on...
Help!



