mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-06 19:42:39 +08:00
10 lines
263 B
Plaintext
10 lines
263 B
Plaintext
// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
|
|
|
|
out highp vec4 v_shadowPos;
|
|
|
|
#include <cc-shadow>
|
|
#include <cc-shadow-map-base>
|
|
|
|
#define CC_SHADOW_POSITION v_shadowPos
|
|
#define CC_TRANSFER_SHADOW(worldPos) CC_TRANSFER_SHADOW_BASE(worldPos, v_shadowPos)
|