Files
cocos4/editor/assets/chunks/cc-shadow.chunk
T
2020-11-11 10:15:42 +08:00

10 lines
316 B
Plaintext

// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
#pragma builtin(global)
layout(set = 0, binding = 1) uniform CCShadow {
highp mat4 cc_matLightPlaneProj;
highp mat4 cc_matLightViewProj;
lowp vec4 cc_shadowColor;
lowp vec4 cc_shadowInfo; //x -> width; y -> height; z -> pcf; w -> bais;
};