mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
c4c95e9e59
* add sky.effect with surface shader surface shader code style * get ready for chunks reorganizing * Delete default_skybox_diffusion.png.meta * add depth functions * add meta
15 lines
512 B
Plaintext
15 lines
512 B
Plaintext
// Copyright (c) 2017-2022 Xiamen Yaji Software Co., Ltd.
|
|
|
|
#pragma define USE_INSTANCING 0
|
|
#pragma define USE_BATCHING 0
|
|
// use #define to rename a macro without editor flag
|
|
#define CC_SURFACES_USE_INSTANCING USE_INSTANCING
|
|
#define CC_SURFACES_USE_BATCHING USE_BATCHING
|
|
|
|
// Disable unused functionality and varying data
|
|
#define CC_SURFACES_USE_TANGENT_SPACE 0
|
|
#define CC_SURFACES_USE_VERTEX_COLOR 0
|
|
#define CC_SURFACES_USE_SECOND_UV 0
|
|
#define CC_SURFACES_USE_LIGHT_MAP 0
|
|
#define CC_SURFACES_TRANSFER_LOCAL_POS 0
|