"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toPaleGrayscale = void 0;
exports.toPaleGrayscale = "\n// convert color to pale gray\nvec4 toPaleGrayscale(in vec4 color, float paleFactor)\n{\n  vec4 white = vec4(1.0, 1.0, 1.0, 1.0);\n  vec4 paleColor = mix(color, white, paleFactor);\n\n  float average = (paleColor.r + paleColor.g + paleColor.b) / 3.0;\n  return vec4(average, average, average, 1.0);\n}";
