38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
|
Shader "Hidden/Core/ProbeVolumeSamplingDebug"
|
||
|
{
|
||
|
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
|
||
|
//#pragma enable_d3d11_debug_symbols
|
||
|
|
||
|
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/EntityLighting.hlsl"
|
||
|
#include "Packages/com.unity.render-pipelines.core/Runtime/Debug/ProbeVolumeDebugBase.hlsl"
|
||
|
|
||
|
#define PROBE_VOLUME_DEBUG_FUNCTION_SAMPLING
|
||
|
#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
|
||
|
}
|
||
|
}
|
||
|
}
|