12345678910111213141516171819202122232425262728293031323334353637 |
- 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
- }
- }
- }
|