暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ProbeVolumeOffsetDebug.shader 1.2KB

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