cc-local.chunk 761 B

12345678910111213
  1. // Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
  2. #pragma builtin(local)
  3. layout(set = 2, binding = 0) uniform CCLocal {
  4. highp mat4 cc_matWorld;
  5. highp mat4 cc_matWorldIT;
  6. highp vec4 cc_lightingMapUVParam;
  7. highp vec4 cc_localShadowBias; // x:shadow bias, y:shadow normal bias, z: reflection probe id, w: blend reflection probe id
  8. highp vec4 cc_reflectionProbeData1; // xyzw: plane or xyz: cube center
  9. highp vec4 cc_reflectionProbeData2; // x: planar reflection depth scale or xyz: cube box half size, w: isRGBE(1000) and mipCount
  10. highp vec4 cc_reflectionProbeBlendData1; //xyz: blend cube center w:blend weight
  11. highp vec4 cc_reflectionProbeBlendData2; //xyz: blend cube box half size, w: isRGBE(1000) and mipCount
  12. };