diff --git a/com.unity.render-pipelines.universal/CHANGELOG.md b/com.unity.render-pipelines.universal/CHANGELOG.md index 90a136b8cb6..d1503ded27a 100644 --- a/com.unity.render-pipelines.universal/CHANGELOG.md +++ b/com.unity.render-pipelines.universal/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [10.8.0] - 2021-09-20 ### Fixed +- Fixed ShaderGraph needing updated normals for ShadowCaster in URP. - Fixed memory leak with XR combined occlusion meshes. [case 1366173] ## [10.7.0] - 2021-07-02 diff --git a/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs b/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs index 23d074cf5d9..acc94454ee5 100644 --- a/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs +++ b/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalTarget.cs @@ -430,7 +430,7 @@ static class CoreRequiredFields { public static readonly FieldCollection ShadowCaster = new FieldCollection() { - StructFields.Attributes.normalOS, + StructFields.Varyings.normalWS, }; } #endregion @@ -845,4 +845,4 @@ static class CoreFields public static readonly FieldDescriptor UseLegacySpriteBlocks = new FieldDescriptor("Universal", "UseLegacySpriteBlocks", "UNIVERSAL_USELEGACYSPRITEBLOCKS"); } #endregion -} \ No newline at end of file +}