您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
26 行
735 B
26 行
735 B
#ifndef SHADERPASS
|
|
#error Undefine_SHADERPASS
|
|
#endif
|
|
|
|
#define ATTRIBUTES_NEED_TEXCOORD0
|
|
#define ATTRIBUTES_NEED_TEXCOORD1
|
|
#define ATTRIBUTES_NEED_TEXCOORD2
|
|
|
|
#ifdef _VERTEX_WIND
|
|
#define ATTRIBUTES_NEED_COLOR
|
|
#define ATTRIBUTES_NEED_NORMAL
|
|
#endif
|
|
|
|
#if defined(LAYERED_LIT_SHADER) && (defined(_LAYER_MASK_VERTEX_COLOR_MUL) || defined(_LAYER_MASK_VERTEX_COLOR_ADD))
|
|
#define ATTRIBUTES_NEED_COLOR
|
|
#endif
|
|
|
|
#define VARYINGS_NEED_TEXCOORD0
|
|
#define VARYINGS_NEED_TEXCOORD1
|
|
|
|
#if defined(LAYERED_LIT_SHADER) && (defined(_LAYER_MASK_VERTEX_COLOR_MUL) || defined(_LAYER_MASK_VERTEX_COLOR_ADD))
|
|
#define VARYINGS_NEED_COLOR
|
|
#endif
|
|
|
|
// This include will define the various Attributes/Varyings structure
|
|
#include "../../ShaderPass/VaryingMesh.hlsl"
|