Hello, I may be tired and thinking in all the wrong places(!), but I
can't get 'modf' to compile.
It says here it's version 130 compatible:
http://www.opengl.org/sdk/docs/manglsl/xhtml/modf.xml
Am I getting the syntax correct?
xz are a 2D coordinate, and I want the fraction in uv and the integer in
ij, but it does not compile, anybody have any ideas?
"
vec2 xz;
ivec2 ij;
vec2 uv = modf(xz, ij);
"
Thanks,
Dave.