No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ProbeVolumeDebug.shader 1.2KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Shader "Hidden/Core/ProbeVolumeDebug"
  2. {
  3. SubShader
  4. {
  5. Tags{ "RenderPipeline" = "UniversalPipeline" "RenderType" = "Opaque" }
  6. LOD 100
  7. HLSLINCLUDE
  8. #pragma target 4.5
  9. #pragma only_renderers d3d11 playstation xboxone xboxseries vulkan metal switch
  10. #pragma multi_compile_fragment _ PROBE_VOLUMES_L1 PROBE_VOLUMES_L2
  11. // Central render pipeline specific includes
  12. #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
  13. #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/EntityLighting.hlsl"
  14. #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/CommonLighting.hlsl"
  15. #include "Packages/com.unity.render-pipelines.core/Runtime/Debug/ProbeVolumeDebugBase.hlsl"
  16. #define PROBE_VOLUME_DEBUG_FUNCTION_MAIN
  17. #include "Packages/com.unity.render-pipelines.core/Runtime/Debug/ProbeVolumeDebugFunctions.hlsl"
  18. ENDHLSL
  19. Pass
  20. {
  21. Name "ForwardOnly"
  22. ZTest LEqual
  23. ZWrite On
  24. HLSLPROGRAM
  25. #pragma vertex vert
  26. #pragma fragment frag
  27. #pragma multi_compile_instancing
  28. ENDHLSL
  29. }
  30. }
  31. }