Unity_1lab/1 laba/Library/PackageCache/com.unity.render-pipelines.universal@3696a2e8b4ac/Shaders/ObjectMotionVectorFallback.shader
Vladislav 23109c3619 Небольшой фикс звуков
-Добавил отдельный звук шага и запахало как надо.
2025-09-16 17:48:42 +03:00

39 lines
979 B
Plaintext

Shader "Hidden/Universal Render Pipeline/ObjectMotionVectorFallback"
{
SubShader
{
Pass
{
Name "MotionVectors"
Tags{ "LightMode" = "MotionVectors" }
ColorMask RG
HLSLPROGRAM
#include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl"
ENDHLSL
}
Pass
{
Name "XRMotionVectors"
Tags { "LightMode" = "XRMotionVectors" }
ColorMask RGB
// Stencil write for obj motion pixels
Stencil
{
WriteMask 1
Ref 1
Comp Always
Pass Replace
}
HLSLPROGRAM
#define APLICATION_SPACE_WARP_MOTION 1
#include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ObjectMotionVectors.hlsl"
ENDHLSL
}
}
}