Hi,
It’s been my understanding that glColor3 is clamped to the range 0.0 to 1.0. I’ve been trying to get a smoke effect to look right and out of desparation upped the color to glColor3f(1.5,1.5,1.5,Alpha) … and voila it looks great !
I’m now confused over my assumption about the clamping range and will my parameters be accepted on all cards ?
From the help about glColor …
"Signed integer color components, when specified, are linearly mapped to floating-point values such that the most positive representable value maps to 1.0, and the most negative representable value maps to - 1.0. Floating-point values are mapped directly.
Neither floating-point nor signed integer values are clamped to the range [0,1] before updating the current color. However, color components are clamped to this range before they are interpolated or written into a color buffer."
The second paragraph seems to contradict the first …
Anyone care to enlighten me ? (and more importantly - can I use values > 1.0 ?)
Thanks
Andrew