mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
0ecaa8db51
* add surface shader * remove unused item * arrange main-functions * arrange main-functions * fix compatible lighting mode
36 lines
778 B
Plaintext
36 lines
778 B
Plaintext
// Surface
|
|
#include <shading-entries/data-structures/vs-input>
|
|
#include <shading-entries/data-structures/vs-output>
|
|
#include <shading-entries/data-structures/vs-intermediate>
|
|
|
|
// UBO
|
|
#include <cc-global>
|
|
#include <builtin/uniforms/cc-local-batched>
|
|
|
|
#if CC_USE_MORPH
|
|
#include <builtin/uniforms/cc-morph>
|
|
#endif
|
|
#if CC_USE_SKINNING
|
|
#include <builtin/uniforms/cc-skinning-uniforms>
|
|
#endif
|
|
|
|
// Functional
|
|
#include <common>
|
|
#include <builtin/internal-functions/world-transform>
|
|
|
|
#if CC_USE_MORPH
|
|
#include <builtin/internal-functions/morph-animation>
|
|
//#include <morph>
|
|
#endif
|
|
|
|
#if CC_USE_SKINNING
|
|
#include <builtin/internal-functions/skinning-animation-lbs>
|
|
//#include <cc-skinning>
|
|
#endif
|
|
|
|
#if !CC_USE_ACCURATE_FOG
|
|
#include <cc-fog-base>
|
|
#endif
|
|
|
|
#include <cc-shadow>
|