From e90ba4e2ea69e9ce06fd65afdee355ab7028c5ac Mon Sep 17 00:00:00 2001 From: Oleksandr Kokoshyn Date: Tue, 28 Jul 2020 17:05:52 +0200 Subject: [PATCH] Replaced "RenderPipeline" = "UniversalRenderPipeline" with "RenderPipeline" = "UniversalPipeline" as requested by Felipe. --- .../writing-shaders-urp-basic-unlit-structure.md | 6 +++--- .../Documentation~/writing-shaders-urp-unlit-color.md | 2 +- .../Documentation~/writing-shaders-urp-unlit-normals.md | 2 +- .../Documentation~/writing-shaders-urp-unlit-texture.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-basic-unlit-structure.md b/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-basic-unlit-structure.md index 8c24ff21527..96253549212 100644 --- a/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-basic-unlit-structure.md +++ b/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-basic-unlit-structure.md @@ -18,7 +18,7 @@ Shader "Example/URPUnlitShaderBasic" { // SubShader Tags define when and under which conditions a SubShader block or // a pass is executed. - Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalRenderPipeline" } + Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalPipeline" } Pass { @@ -127,10 +127,10 @@ A Unity shader source file contains one or more [SubShader](https://docs.unity3d A SubShader block can optionally contain a SubShader Tags block. Use the `Tags` keyword to declare a SubShader Tags block. ``` -Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalRenderPipeline" } +Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalPipeline" } ``` -A SubShader Tag with a name of `RenderPipeline` tells Unity which render pipelines to use this SubShader with, and the value of `UniversalRenderPipeline` indicates that Unity should use this SubShader with URP. +A SubShader Tag with a name of `RenderPipeline` tells Unity which render pipelines to use this SubShader with, and the value of `UniversalPipeline` indicates that Unity should use this SubShader with URP. For more information on SubShader Tags, see [ShaderLab: SubShader Tags](https://docs.unity3d.com/Manual/SL-SubShaderTags.html). diff --git a/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-color.md b/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-color.md index 024dcd3f0fe..28b68c53eda 100644 --- a/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-color.md +++ b/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-color.md @@ -61,7 +61,7 @@ Shader "Example/URPUnlitShaderColor" SubShader { - Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalRenderPipeline" } + Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalPipeline" } Pass { diff --git a/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-normals.md b/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-normals.md index 8bc3e5d7dbb..d32cadba63e 100644 --- a/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-normals.md +++ b/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-normals.md @@ -72,7 +72,7 @@ Shader "Example/URPUnlitShaderNormal" SubShader { - Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalRenderPipeline" } + Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalPipeline" } Pass { diff --git a/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-texture.md b/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-texture.md index 2481f86aeac..2b770783bee 100644 --- a/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-texture.md +++ b/com.unity.render-pipelines.universal/Documentation~/writing-shaders-urp-unlit-texture.md @@ -81,7 +81,7 @@ Shader "Example/URPUnlitShaderTexture" SubShader { - Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalRenderPipeline" } + Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalPipeline" } Pass {