1/* 2 * Copyright (C) 2024 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /* Color and intensity constants. */ 18 // The color of the highlight of each drop. 19 const vec3 highlightColor = vec3(1.); // white 20 // The color of the contact ambient occlusion shadow. 21 const vec3 contactShadowColor = vec3(0.); // black 22 // The tint color of the drop. 23 const vec3 dropTint = vec3(1.); // white 24 25 // The multiplier for the tint in the drops. 26 const float dropTintIntensity = 0.09; 27 // The multiplier for the highlight of the drops. 28 const float highlightIntensity = 0.7; 29 // The multiplier for the contact shadow of the drops. 30 const float dropShadowIntensity = 0.5;