{
// Lightmode matches the ShaderPassName set in LightweightPipeline.cs. SRPDefaultUnlit and passes with
// no LightMode tag are also rendered by Lightweight Pipeline
Name "StandardLit"
Tags{"LightMode" = "LightweightForward"}
Blend[_SrcBlend][_DstBlend]
Pass
Name "ShadowCaster"
Tags{"LightMode" = "ShadowCaster"}
ZWrite On
Name "DepthOnly"
Tags{"LightMode" = "DepthOnly"}
// This pass it not used during regular rendering, only for lightmap baking.
Name "Meta"
Tags{"LightMode" = "Meta"}
Cull Off
Name "ParticlesLit"
Tags {"LightMode" = "LightweightForward"}
HLSLPROGRAM
// Required to compile gles 2.0 with standard srp library
Name "ParticlesUnlit"
#pragma prefer_hlslcc gles
Tags { "LightMode" = "LightweightForward" }
// Use same blending / depth states as Standard shader
Tags{ "LightMode" = "Meta" }
Name "StandardUnlit"
Name "TerrainLit"
Name "TerrainAddLit"
Blend One One
// Forward pass. Shades all light in a single pass. GI + emission + Fog
Name "TerrainBaseLit"