From 79ec03afced92127f4d9061b3165bcf7f9ed7db2 Mon Sep 17 00:00:00 2001 From: Chris Chu Date: Thu, 11 Nov 2021 13:33:01 +0800 Subject: [PATCH 1/3] Update 2DRendererData_overview.md --- .../Documentation~/2DRendererData_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md b/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md index 3928c2beeef..67af8992a19 100644 --- a/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md +++ b/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md @@ -24,7 +24,7 @@ This option is enabled by default. Clear this option to disable the Depth/[Stenc ## Camera Sorting Layer Texture -The __2D Renderer Data__ specifies how Unity supplies the shader variable `CameraSortingLayerTexture` for use in custom shaders. You should use this data in the same frame, and on the following layers. +The __2D Renderer Data__ specifies how Unity supplies the shader variable `CameraSortingLayerTexture` for use in custom shaders. You must use this data in the same frame, and on the following layers. Using CameraSortingLayerTexture before it has been capture may result in unexpected results. ### Foremost Sorting Layer All Layers captured for use in the supplied Texture will be drawn from the very back Layer up to and including the Layer specified by __Foremost Sorting Layer__. From a0f6af7533f8839ecc5e1c84fa24890c6e3d5733 Mon Sep 17 00:00:00 2001 From: Chris Chu Date: Thu, 18 Nov 2021 23:01:33 +0800 Subject: [PATCH 2/3] Update 2DRendererData_overview.md --- .../Documentation~/2DRendererData_overview.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md b/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md index 67af8992a19..1f07c65f0a8 100644 --- a/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md +++ b/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md @@ -24,8 +24,7 @@ This option is enabled by default. Clear this option to disable the Depth/[Stenc ## Camera Sorting Layer Texture -The __2D Renderer Data__ specifies how Unity supplies the shader variable `CameraSortingLayerTexture` for use in custom shaders. You must use this data in the same frame, and on the following layers. Using CameraSortingLayerTexture before it has been capture may result in unexpected results. - +The __2D Renderer Data__ specifies how Unity supplies the shader variable `CameraSortingLayerTexture` for use in custom shaders. It is recommended that you use this data in the same frame and on the following layers, as using CameraSortingLayerTexture before it has been captured may result in unexpected results. ### Foremost Sorting Layer All Layers captured for use in the supplied Texture will be drawn from the very back Layer up to and including the Layer specified by __Foremost Sorting Layer__. From 1d8c050ca8c44b556ab426490ef701efb9130e63 Mon Sep 17 00:00:00 2001 From: Samantha Ooi Date: Thu, 9 Dec 2021 17:05:59 +0800 Subject: [PATCH 3/3] Just adding tagging Added `` tags around CameraSortingLayerTexture. --- .../Documentation~/2DRendererData_overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md b/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md index 1f07c65f0a8..be779a982d0 100644 --- a/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md +++ b/com.unity.render-pipelines.universal/Documentation~/2DRendererData_overview.md @@ -24,7 +24,7 @@ This option is enabled by default. Clear this option to disable the Depth/[Stenc ## Camera Sorting Layer Texture -The __2D Renderer Data__ specifies how Unity supplies the shader variable `CameraSortingLayerTexture` for use in custom shaders. It is recommended that you use this data in the same frame and on the following layers, as using CameraSortingLayerTexture before it has been captured may result in unexpected results. +The __2D Renderer Data__ specifies how Unity supplies the shader variable `CameraSortingLayerTexture` for use in custom shaders. It is recommended that you use this data in the same frame and on the following layers, as using `CameraSortingLayerTexture` before it has been captured may result in unexpected results. ### Foremost Sorting Layer All Layers captured for use in the supplied Texture will be drawn from the very back Layer up to and including the Layer specified by __Foremost Sorting Layer__.