Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | //This file is automatically rebuilt by the Cesium build process.
export default "uniform vec4 waterColor;\n\
uniform vec4 landColor;\n\
\n\
czm_material czm_getMaterial(czm_materialInput materialInput)\n\
{\n\
czm_material material = czm_getDefaultMaterial(materialInput);\n\
\n\
vec4 outColor = mix(landColor, waterColor, materialInput.waterMask);\n\
outColor = czm_gammaCorrect(outColor);\n\
\n\
material.diffuse = outColor.rgb;\n\
material.alpha = outColor.a;\n\
\n\
return material;\n\
}\n\
";
|