mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
11 lines
325 B
Plaintext
11 lines
325 B
Plaintext
// for user modified lighting result
|
|
struct LightingMiscData
|
|
{
|
|
// local light source raw attributes, same as CCForwardLight
|
|
// use lightingData.L for actual lighting vector, lightDir may be zero with point lights
|
|
float lightType;
|
|
vec3 lightPos, lightDir;
|
|
vec4 lightColorAndIntensity;
|
|
vec4 lightSizeRangeAngle;
|
|
};
|