diff options
Diffstat (limited to 'Runtime/Shaders/ShaderTags.h')
-rw-r--r-- | Runtime/Shaders/ShaderTags.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Runtime/Shaders/ShaderTags.h b/Runtime/Shaders/ShaderTags.h new file mode 100644 index 0000000..252b165 --- /dev/null +++ b/Runtime/Shaders/ShaderTags.h @@ -0,0 +1,27 @@ +#ifndef SHADER_TAGS_H +#define SHADER_TAGS_H + +// The pass type of a given pass. +// The shader sets this as a hint to the app as to how it wants to be rendered using the LightMode tag +enum ShaderPassType { + kPassAlways, // Always executed. No lighting. + kPassVertex, // Vertex lights + ambient + kPassVertexLM, // Vertex lighting w/ lightmaps + kPassVertexLMRGBM, // Vertex lighting w/ lightmaps encoded as RGBM + kPassForwardBase, + kPassForwardAdd, + kPassLightPrePassBase, + kPassLightPrePassFinal, + kPassShadowCaster, // Renders object as shadow caster + kPassShadowCollector, // Renders object, collecting shadows into screen space texture + kShaderPassTypeCount // Keep this last! +}; + + +enum ShaderRenderOptions { + kShaderOptionSoftVegetation = 0, // soft vegetation is currently on + kShaderRenderOptionCount // keep this last! +}; + + +#endif |