saturation.js 276 B

12345678
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "vec3 czm_saturation(vec3 rgb, float adjustment)\n\
  3. {\n\
  4. const vec3 W = vec3(0.2125, 0.7154, 0.0721);\n\
  5. vec3 intensity = vec3(dot(rgb, W));\n\
  6. return mix(intensity, rgb, adjustment);\n\
  7. }\n\
  8. ";