From 95cbfdf9a5b891316887efa0e2dfe98696bc767f Mon Sep 17 00:00:00 2001 From: FrancescoC-Unity Date: Tue, 2 Jun 2020 11:15:16 +0200 Subject: [PATCH 1/2] Disable transparent movec when object motion vectors are disabled --- .../Runtime/RenderPipeline/HDRenderPipeline.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs index 6da2dffe9d0..a95a9afcc82 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs +++ b/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs @@ -3872,7 +3872,7 @@ void RenderForwardOpaque(CullingResults cullResults, HDCamera hdCamera, Scriptab static bool NeedMotionVectorForTransparent(FrameSettings frameSettings) { - return frameSettings.IsEnabled(FrameSettingsField.MotionVectors) && frameSettings.IsEnabled(FrameSettingsField.TransparentsWriteMotionVector); + return frameSettings.IsEnabled(FrameSettingsField.MotionVectors) && frameSettings.IsEnabled(FrameSettingsField.TransparentsWriteMotionVector) && frameSettings.IsEnabled(FrameSettingsField.ObjectMotionVectors); } RendererListDesc PrepareForwardTransparentRendererList(CullingResults cullResults, HDCamera hdCamera, bool preRefraction) From d20c8fd58e92f656525e178ea06cc63bf1fb3e63 Mon Sep 17 00:00:00 2001 From: FrancescoC-Unity Date: Tue, 2 Jun 2020 11:28:28 +0200 Subject: [PATCH 2/2] changelog --- com.unity.render-pipelines.high-definition/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 7c5d8d37600..dcc3d7e04bd 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -628,6 +628,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed an issue where editing the Look Dev default profile would not reflect directly in the Look Dev window. - Fixed a bug where the light list is not cleared but still used when resizing the RT. - Fixed exposure debug shader with XR single-pass rendering. +- Fixed issues with scene view and transparent motion vectors. ### Changed - Improve MIP selection for decals on Transparents