Creating Float textures ?

Hi,

Anyone has idea on what are “float textures” ?

Like on Opengl side, I’m generating a 1D texture using an array of floats as a data source…like as shown…and later I want to pass this 1D texture as “sampler1D” to my fragment program.

/** OpenGL side **/
float gradient[TABSIZE*4];

// Fill gradient array

glGenTextures(1, &gradientTex);
glBindTexture(GL_TEXTURE_1D, gradientTex);
glTexImage1D(GL_TEXTURE_1D, 0, GL_SIGNED_RGBA8_NV, TABSIZE*2, 0, GL_RGBA,GL_FLOAT, gradient);

gradientMap = cgGetNamedParameter(fProgram, “gradientMap”);
cgGLSetTextureParameter(gradientMap, gradientTex);

Now my worry is whether my gradient elements have been really treated as float elements in frag Program. I read somewhere that there is something called “float textures” ? Anyidea how these are created ? Any API on OpengL side to do that ?