PassType
enumeration
Description 描述
Shader pass type for Unity's lighting pipeline.
This corresponds to "LightMode" tag in the shader pass, see Pass tags.
Properties 属性
| Normal | Regular shader pass that does not interact with lighting. | ||
| Vertex | Legacy vertex-lit shader pass. | ||
| VertexLM | Legacy vertex-lit shader pass, with mobile lightmaps. | ||
| ForwardBase | Forward rendering base pass. | ||
| ForwardAdd | Forward rendering additive pixel light pass. | ||
| LightPrePassBase | Legacy deferred lighting (light pre-pass) base pass. | ||
| LightPrePassFinal | Legacy deferred lighting (light pre-pass) final pass. | ||
| ShadowCaster | Shadow caster & depth texure shader pass. | ||
| Deferred | Deferred Shading shader pass. | ||
| Meta | Shader pass used to generate the albedo and emissive values used as input to lightmapping. | ||
| MotionVectors | Motion vector render pass. | ||
| ScriptableRenderPipeline | Custom scriptable pipeline. | ||
| ScriptableRenderPipelineDefaultUnlit | Custom scriptable pipeline when lightmode is set to default unlit or no light mode is set. |