55" return (((-9.58108609441667E+02 * x + 8.89060620527714E+02) * x - 2.42747192807495E+02) * x + 9.97906310565304E+00) * x + 2.54641252219400E+02;\n"
56" } else {\n"
57" return ((-9.93985373158007E+02 * x + 1.96524174972026E+03) * x - 1.54068189744713E+03) * x + 6.72947219603874E+02;\n"
58" }\n"
59"}\n"
60"\n"
61"float colormap_green(float x) {\n"
62" if (x < 0.7679868638515472) {\n"
63" return ((((2.66433610509335E+03 * x - 5.05488641558587E+03) * x + 3.69542277742922E+03) * x - 1.36931912848446E+03) * x - 5.12669839132577E+01) * x + 2.41929417192750E+02;\n"
64" } else {\n"
65" return (-2.11738816337853E+02 * x + 2.78333107855597E+02) * x - 6.66958752910143E+01;\n"
66" }\n"
67"}\n"
68"\n"
69"float colormap_blue(float x) {\n"
70" return (((-6.83475279000297E+02 * x + 1.55250107598171E+03) * x - 9.25799053039285E+02) * x - 1.67380812671938E+02) * x + 2.37145226675143E+02;\n"
71"}\n"
72"\n"
73"vec4 colormap(float x) {\n"
74" float r = clamp(colormap_red(x) / 255.0, 0.0, 1.0);\n"
75" float g = clamp(colormap_green(x) / 255.0, 0.0, 1.0);\n"
76" float b = clamp(colormap_blue(x) / 255.0, 0.0, 1.0);\n"