赣州市洪水风险预警系统三维版本
xiebin
2023-02-17 f46809e0c7b8d78f681f17deec7c3bd8b472575a
1
2
3
4
5
6
7
8
9
10
 
uniform mat4 shadowMap_cascadeMatrices[4];
 
mat4 czm_cascadeMatrix(vec4 weights)
{
    return shadowMap_cascadeMatrices[0] * weights.x +
           shadowMap_cascadeMatrices[1] * weights.y +
           shadowMap_cascadeMatrices[2] * weights.z +
           shadowMap_cascadeMatrices[3] * weights.w;
}