cascadeMatrix.js 416 B

123456789101112
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "\n\
  3. uniform mat4 shadowMap_cascadeMatrices[4];\n\
  4. \n\
  5. mat4 czm_cascadeMatrix(vec4 weights)\n\
  6. {\n\
  7. return shadowMap_cascadeMatrices[0] * weights.x +\n\
  8. shadowMap_cascadeMatrices[1] * weights.y +\n\
  9. shadowMap_cascadeMatrices[2] * weights.z +\n\
  10. shadowMap_cascadeMatrices[3] * weights.w;\n\
  11. }\n\
  12. ";