getLambertDiffuse.js 217 B

123456
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "float czm_getLambertDiffuse(vec3 lightDirectionEC, vec3 normalEC)\n\
  3. {\n\
  4. return max(dot(lightDirectionEC, normalEC), 0.0);\n\
  5. }\n\
  6. ";