From b496dd3785d3b5383b0182f3e364fcfde9d99a41 Mon Sep 17 00:00:00 2001 From: emilybrown1 Date: Wed, 20 Oct 2021 11:13:32 +0100 Subject: [PATCH 1/5] Fixed grammar errors --- .../Documentation~/Decal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md index 7b85945f161..ca4fbd4ec08 100644 --- a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md +++ b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md @@ -38,7 +38,7 @@ By default, in the UI for Decal Projectors, Mesh Renderers, or Terrain, Decal La ### Performance implications -Enabling Decal Layers require increase memory, have a GPU performance cost and generate more Shader Variant (so increase build time). +Enabling Decal Layers increases memory usage, has a GPU performance cost and generates more Shader Variants. This increases build time. If you use the Decal Layer system to disable a decal, via the **Rendering Layer Mask** of a Mesh Renderer or Terrain, it doesn't save on any performance. Instead, to save performance, you need to disable the **Receive Decals** property for the Mesh Renderer or Terrain's Material. From f55719f4fe8d4bab72751ef7ac89c234a3024783 Mon Sep 17 00:00:00 2001 From: emilybrown1 Date: Thu, 21 Oct 2021 09:57:54 +0100 Subject: [PATCH 2/5] fixed passive voice in decal doc --- .../Documentation~/Decal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md index ca4fbd4ec08..2bdd8193fa3 100644 --- a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md +++ b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md @@ -38,7 +38,7 @@ By default, in the UI for Decal Projectors, Mesh Renderers, or Terrain, Decal La ### Performance implications -Enabling Decal Layers increases memory usage, has a GPU performance cost and generates more Shader Variants. This increases build time. +When you enable Decal Layers, you also increase memory usage, GPU performance cost and generate more Shader Variants. This increases build time. If you use the Decal Layer system to disable a decal, via the **Rendering Layer Mask** of a Mesh Renderer or Terrain, it doesn't save on any performance. Instead, to save performance, you need to disable the **Receive Decals** property for the Mesh Renderer or Terrain's Material. From bafc13486db67633041367407e2159b7ddbeff78 Mon Sep 17 00:00:00 2001 From: emilybrown1 <88374601+emilybrown1@users.noreply.github.com> Date: Thu, 4 Nov 2021 11:14:06 +0000 Subject: [PATCH 3/5] Update Decal.md --- .../Documentation~/Decal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md index 2bdd8193fa3..bc17952f69e 100644 --- a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md +++ b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md @@ -36,7 +36,7 @@ After you enable Decal Layers, you can then use them to decouple Meshes from cer By default, in the UI for Decal Projectors, Mesh Renderers, or Terrain, Decal Layers are named **Decal Layer 1-7**. To more easily differentiate between them, you can give each Decal Layer a specific name. To do this, open the [HDRP Global Settings](Default-Settings-Window.md), and go to **Decal Layer Names**. Here you can set the name of each Decal Layer individually. -### Performance implications +### How decals affect performance When you enable Decal Layers, you also increase memory usage, GPU performance cost and generate more Shader Variants. This increases build time. From a7793981c7dbe711a327a8ff86873f552f7c61c3 Mon Sep 17 00:00:00 2001 From: emilybrown1 <88374601+emilybrown1@users.noreply.github.com> Date: Thu, 4 Nov 2021 11:15:36 +0000 Subject: [PATCH 4/5] Update Decal.md --- .../Documentation~/Decal.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md index bc17952f69e..acb3403b635 100644 --- a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md +++ b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md @@ -38,7 +38,11 @@ By default, in the UI for Decal Projectors, Mesh Renderers, or Terrain, Decal La ### How decals affect performance -When you enable Decal Layers, you also increase memory usage, GPU performance cost and generate more Shader Variants. This increases build time. +When you enable Decal Layers, it increases the build time of your project. This is because Decal Layers: + +* Uses a high amount of memory. +* Increases GPU performance cost. +* Generates more [Shader Variants](https://docs.unity3d.com/Manual/shader-variants.html). If you use the Decal Layer system to disable a decal, via the **Rendering Layer Mask** of a Mesh Renderer or Terrain, it doesn't save on any performance. Instead, to save performance, you need to disable the **Receive Decals** property for the Mesh Renderer or Terrain's Material. From ee23152f50635514aebf58487af5eaccb2b83110 Mon Sep 17 00:00:00 2001 From: emilybrown1 <88374601+emilybrown1@users.noreply.github.com> Date: Thu, 4 Nov 2021 13:18:14 +0000 Subject: [PATCH 5/5] Update Decal.md --- .../Documentation~/Decal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md index acb3403b635..71382ebf044 100644 --- a/com.unity.render-pipelines.high-definition/Documentation~/Decal.md +++ b/com.unity.render-pipelines.high-definition/Documentation~/Decal.md @@ -36,7 +36,7 @@ After you enable Decal Layers, you can then use them to decouple Meshes from cer By default, in the UI for Decal Projectors, Mesh Renderers, or Terrain, Decal Layers are named **Decal Layer 1-7**. To more easily differentiate between them, you can give each Decal Layer a specific name. To do this, open the [HDRP Global Settings](Default-Settings-Window.md), and go to **Decal Layer Names**. Here you can set the name of each Decal Layer individually. -### How decals affect performance +### How Decal Layers affect performance When you enable Decal Layers, it increases the build time of your project. This is because Decal Layers: