From 28b9a31e635bcaf57061859bde93c80ce2a01a61 Mon Sep 17 00:00:00 2001 From: Antoine Lelievre Date: Tue, 16 Mar 2021 17:29:31 +0100 Subject: [PATCH] Remove useless shaders from the creation menu --- .../Lighting/Reflection/HDReflectionProbeEditor.Gizmos.cs | 2 +- .../Editor/Lighting/Reflection/PlanarReflectionProbeEditor.cs | 2 +- .../Lighting/Reflection/PlanarReflectionProbesPreview.shader | 2 +- .../Editor/Lighting/Reflection/ReflectionProbesPreview.shader | 2 +- .../Runtime/Material/LTCAreaLight/FilterAreaLightCookies.shader | 2 +- .../RenderPass/CustomPass/CustomPassRenderersUtils.shader | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/HDReflectionProbeEditor.Gizmos.cs b/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/HDReflectionProbeEditor.Gizmos.cs index 89fd3191d0f..a84e202b86b 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/HDReflectionProbeEditor.Gizmos.cs +++ b/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/HDReflectionProbeEditor.Gizmos.cs @@ -33,7 +33,7 @@ static void Gizmos_CapturePoint(ReflectionProbe target) if (sphere == null) sphere = Resources.GetBuiltinResource("New-Sphere.fbx"); if (material == null) - material = new Material(Shader.Find("Debug/ReflectionProbePreview")); + material = new Material(Shader.Find("Hidden/Debug/ReflectionProbePreview")); var probe = target.GetComponent(); var probePositionSettings = ProbeCapturePositionSettings.ComputeFrom(probe, null); HDRenderUtilities.ComputeCameraSettingsFromProbeSettings( diff --git a/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/PlanarReflectionProbeEditor.cs b/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/PlanarReflectionProbeEditor.cs index 5d6d02f92e1..15880958916 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/PlanarReflectionProbeEditor.cs +++ b/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/PlanarReflectionProbeEditor.cs @@ -260,7 +260,7 @@ static void DrawCapturePositionGizmo(PlanarReflectionProbe probe) if (k_QuadMesh == null) k_QuadMesh = Resources.GetBuiltinResource("Quad.fbx"); if (k_PreviewMaterial == null) - k_PreviewMaterial = new Material(Shader.Find("Debug/PlanarReflectionProbePreview")); + k_PreviewMaterial = new Material(Shader.Find("Hidden/Debug/PlanarReflectionProbePreview")); if (k_PreviewOutlineMaterial == null) k_PreviewOutlineMaterial = new Material(Shader.Find("Hidden/UnlitTransparentColored")); diff --git a/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/PlanarReflectionProbesPreview.shader b/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/PlanarReflectionProbesPreview.shader index 36c9779bc8b..da79ed95b65 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/PlanarReflectionProbesPreview.shader +++ b/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/PlanarReflectionProbesPreview.shader @@ -1,4 +1,4 @@ -Shader "Debug/PlanarReflectionProbePreview" +Shader "Hidden/Debug/PlanarReflectionProbePreview" { Properties { diff --git a/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/ReflectionProbesPreview.shader b/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/ReflectionProbesPreview.shader index 13710946349..ddb3a183778 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/ReflectionProbesPreview.shader +++ b/com.unity.render-pipelines.high-definition/Editor/Lighting/Reflection/ReflectionProbesPreview.shader @@ -1,4 +1,4 @@ -Shader "Debug/ReflectionProbePreview" +Shader "Hidden/Debug/ReflectionProbePreview" { Properties { diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/LTCAreaLight/FilterAreaLightCookies.shader b/com.unity.render-pipelines.high-definition/Runtime/Material/LTCAreaLight/FilterAreaLightCookies.shader index 983144a2e9c..ec3ec4c9597 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Material/LTCAreaLight/FilterAreaLightCookies.shader +++ b/com.unity.render-pipelines.high-definition/Runtime/Material/LTCAreaLight/FilterAreaLightCookies.shader @@ -1,4 +1,4 @@ -Shader "CoreResources/FilterAreaLightCookies" +Shader "Hidden/CoreResources/FilterAreaLightCookies" { HLSLINCLUDE #pragma target 4.5 diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassRenderersUtils.shader b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassRenderersUtils.shader index 3c792736c4b..bb7b7acd296 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassRenderersUtils.shader +++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassRenderersUtils.shader @@ -1,4 +1,4 @@ -Shader "Renderers/CustomPassRenderersUtils" +Shader "Hidden/HDRP/CustomPassRenderersUtils" { Properties {