/* * Copyright (C) 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* Color and intensity constants. */ // The color of the highlight of each drop. const vec3 highlightColor = vec3(1.); // white // The color of the contact ambient occlusion shadow. const vec3 contactShadowColor = vec3(0.); // black // The tint color of the drop. const vec3 dropTint = vec3(1.); // white // The multiplier for the tint in the drops. const float dropTintIntensity = 0.09; // The multiplier for the highlight of the drops. const float highlightIntensity = 0.7; // The multiplier for the contact shadow of the drops. const float dropShadowIntensity = 0.5;