UnityGame/Library/PackageCache/com.unity.render-pipelines.core/Runtime/Debug/ProbeVolumeDebug.shader

38 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-10-27 10:53:47 +03:00
Shader "Hidden/Core/ProbeVolumeDebug"
{
SubShader
{
Tags{ "RenderPipeline" = "UniversalPipeline" "RenderType" = "Opaque" }
LOD 100
HLSLINCLUDE
#pragma target 4.5
#pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch
#pragma multi_compile_fragment _ PROBE_VOLUMES_L1 PROBE_VOLUMES_L2
// Central render pipeline specific includes
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/EntityLighting.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonLighting.hlsl"
#include "Packages/com.unity.render-pipelines.core/Runtime/Debug/ProbeVolumeDebugBase.hlsl"
#define PROBE_VOLUME_DEBUG_FUNCTION_MAIN
#include "Packages/com.unity.render-pipelines.core/Runtime/Debug/ProbeVolumeDebugFunctions.hlsl"
ENDHLSL
Pass
{
Name "ForwardOnly"
ZTest LEqual
ZWrite On
HLSLPROGRAM
#pragma vertex vert
#pragma fragment frag
#pragma multi_compile_instancing
ENDHLSL
}
}
}