Files
Cielonos/Assets/Shaders/ScriptablePostProcessor/SpeedLines.shader
SoulliesOfficial ef7b479712 initial
2025-11-25 08:19:33 -05:00

32 lines
829 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Shader "Hidden/Custom/SpeedLines"
{
SubShader
{
// URP 标签
Tags
{
"RenderType" = "Opaque"
"RenderPipeline" = "UniversalPipeline"
}
ZWrite Off
Cull Off
// 包含所有效果的 HLSL 逻辑
HLSLINCLUDE
#include "PostProcessingPass.hlsl"
ENDHLSL
// 定义一个 Pass。我们只需要这一个
Pass
{
Name "Speed Lines Pass"
HLSLPROGRAM
// Vert顶点函数来自 PostProcessingPass.hlsl 包含的 Blit.hlsl
#pragma vertex Vert
// Frag片元函数是我们即将在下面 HLSL 文件中创建的新函数
#pragma fragment SpeedLinesPassFragment
ENDHLSL
}
}
}