1234567891011121314151617181920212223242526272829303132333435363738 |
- Shader "Hidden/Core/ProbeVolumeOffsetDebug"
- {
- SubShader
- {
- Tags{ "RenderType" = "Opaque" }
- LOD 100
-
- HLSLINCLUDE
- #pragma editor_sync_compilation
- #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_OFFSET
- #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
- }
- }
- }
|