On Monday 26 May 2008 12:37:04 pm Vitaliy Margolen wrote:
> - shader_addline(buffer, "PARAM srgb_mul_low = {%f, %f, %f,
> 1.0};\n",
> + shader_addline(buffer, "PARAM srgb_mul_low = {%.12f,
> %.12f, %.12f, 1.0};\n",
I don't know if ARB shaders would except the notation (GLSL does), but
would %.8e or somesuch work better than %.12f at maintaining accuracy?