mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-09 00:58:50 +08:00
* Rearrange IA input variables and functions for surface shader Fix default_skybox.meta missing * Update compiled shaders * Fix code style
20 lines
405 B
Plaintext
20 lines
405 B
Plaintext
// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
|
|
#include <decode-standard>
|
|
#if CC_USE_MORPH
|
|
#include <morph>
|
|
#endif
|
|
#if CC_USE_SKINNING
|
|
#include <cc-skinning>
|
|
#endif
|
|
|
|
void CCVertInput(inout StandardVertInput In)
|
|
{
|
|
CCDecode(In);
|
|
#if CC_USE_MORPH
|
|
applyMorph(In.position, In.normal, In.tangent);
|
|
#endif
|
|
#if CC_USE_SKINNING
|
|
CCSkin(In.position, In.normal, In.tangent);
|
|
#endif
|
|
}
|