Skip to content

Commit fb33c79

Browse files
FrancescoC-unitysebastienlagarde
authored andcommitted
Fix transparent movec scene view #698
1 parent 7baef35 commit fb33c79

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

com.unity.render-pipelines.high-definition/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
136136
- Fixed scalarization code for contact shadows
137137
- Fix MaterialBalls having same guid issue
138138
- Fix spelling and grammatical errors in material samples
139+
- Fixed issues with scene view and transparent motion vectors.
139140

140141
### Changed
141142
- Rejecting history for ray traced reflections based on a threshold evaluated on the neighborhood of the sampled history.

com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3563,7 +3563,7 @@ void RenderForwardOpaque(CullingResults cullResults, HDCamera hdCamera, Scriptab
35633563

35643564
static bool NeedMotionVectorForTransparent(FrameSettings frameSettings)
35653565
{
3566-
return frameSettings.IsEnabled(FrameSettingsField.MotionVectors) && frameSettings.IsEnabled(FrameSettingsField.TransparentsWriteMotionVector);
3566+
return frameSettings.IsEnabled(FrameSettingsField.MotionVectors) && frameSettings.IsEnabled(FrameSettingsField.TransparentsWriteMotionVector) && frameSettings.IsEnabled(FrameSettingsField.ObjectMotionVectors);
35673567
}
35683568

35693569
RendererListDesc PrepareForwardTransparentRendererList(CullingResults cullResults, HDCamera hdCamera, bool preRefraction)

0 commit comments

Comments
 (0)