From ed7c58a3aefa0bc39435c6e6bee69ce9a3686c43 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sat, 11 Apr 2020 23:39:25 +0300 Subject: [PATCH] Fix URP backwards compatibility function calls itself (backport 6517). --- com.unity.render-pipelines.universal/CHANGELOG.md | 1 + .../Shaders/BakedLitMetaPass.hlsl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.universal/CHANGELOG.md b/com.unity.render-pipelines.universal/CHANGELOG.md index 42005c175bd..7f182b29d54 100644 --- a/com.unity.render-pipelines.universal/CHANGELOG.md +++ b/com.unity.render-pipelines.universal/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed an issue where particles using Sprite Shader Graph shaders were invisible. - Fixed an issue where Scene objects might be incorrectly affected by 2D Lights from a previous Sorting Layer. - Fixed an issue where errors would appear in the Console when entering Play Mode with a 2D Light selected in the Hierarchy. [Case 1226918](https://issuetracker.unity3d.com/issues/errors-appear-in-the-console-when-global-2d-light-is-selected-in-hierarchy) +- Fixed invalid implementation of one function in LWRP -> URP backward compatibility support. ## [7.3.0] - 2020-03-11 diff --git a/com.unity.render-pipelines.universal/Shaders/BakedLitMetaPass.hlsl b/com.unity.render-pipelines.universal/Shaders/BakedLitMetaPass.hlsl index 7ba80dfea25..c275314c113 100644 --- a/com.unity.render-pipelines.universal/Shaders/BakedLitMetaPass.hlsl +++ b/com.unity.render-pipelines.universal/Shaders/BakedLitMetaPass.hlsl @@ -46,7 +46,7 @@ Varyings LightweightVertexMeta(Attributes input) half4 LightweightFragmentMetaBakedLit(Varyings input) : SV_Target { - return LightweightFragmentMetaBakedLit(input); + return UniversalFragmentMetaBakedLit(input); } #endif