#T#MotionVectorsPassTags
Name "MotionVectors"
Tags { "LightMode" = "MotionVectors" }

#T#MotionVectorsPassStencil
#K#MOTION_VECTORS_PASS_STENCIL

#T#MotionVectorsBlendSettings
ZWrite [_ZWrite]
Cull [_Cull]
ZTest [_ZTest]
Offset [_OffsetFactor], [_OffsetUnits]
ColorMask RG

#T#MotionVectorsOnlyKeywords
#pragma skip_variants FOG_LINEAR FOG_EXP FOG_EXP2
#pragma multi_compile_instancing

#define POI_PASS_MOTION_VECTORS

#T#MotionVectorsPassKeywords
#K#MOTION_VECTORS_PASS_KEYWORDS

#K#MOTION_VECTORS_PASS_PRAGMA_PROGRAMS

#T#MotionVectorsPassPropertyVariables
#K#MOTION_VECTORS_PROPERTY_VARIABLES
#K#MOTION_VECTORS_PROPERTY_VARIABLES_EXPOSED

#T#MotionVectorsPropertyVariablesURP
CBUFFER_START(UnityPerMaterial)
#K#MOTION_VECTORS_PROPERTY_VARIABLES_EXPOSED
CBUFFER_END
#K#MOTION_VECTORS_PROPERTY_VARIABLES

#T#MotionVectorsPassPrograms
#K#VERTEX_MOTION_VECTORS_DATA_STRUCTURES
#K#VERTEX_MOTION_VECTORS_FUNCTIONS_EARLY
#K#VERTEX_MOTION_VECTORS_FUNCTIONS
#K#VERTEX_MOTION_VECTORS_FUNCTIONS_LATE
#K#VERTEX_MOTION_VECTORS_PROGRAM

#K#HULLDOMAIN_MOTION_VECTORS_PROGRAM
#K#GEOMETRY_MOTION_VECTORS_PROGRAM

#K#FRAGMENT_MOTION_VECTORS_DATA_STRUCTURES
#K#FRAGMENT_MOTION_VECTORS_FUNCTIONS_EARLY
#K#FRAGMENT_MOTION_VECTORS_FUNCTIONS

#K#FRAGMENT_MOTION_VECTORS_FUNCTIONS_LATE
#K#FRAGMENT_MOTION_VECTORS_PROGRAM

#T#MotionVectorsPassIncludesURP
#if UNITY_VERSION >= 202300
    #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/MotionVectorsCommon.hlsl"
#endif