Skip to content

Commit

Permalink
NeedMotionVectorForTransparent was checking for wrong flag #6719
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoC-unity authored and sebastienlagarde committed Jan 13, 2022
1 parent 4dc3a79 commit 4e89992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed timeline not updating PBR HDAdditionalLightData parameters properly.
- Fixed Correlated Color Temperature not being applied in Player builds for Enlighten realtime GI lights (case 1370438);
- Fixed Tile/Cluster Debug in the Rendering Debugger for Decal and Local Volumetric Fog
- Fixed NeedMotionVectorForTransparent checking the wrong flag.

## [12.1.3] - 2021-11-17

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2589,7 +2589,7 @@ public Texture2D ExportSkyToTexture(Camera camera)

static bool NeedMotionVectorForTransparent(FrameSettings frameSettings)
{
return frameSettings.IsEnabled(FrameSettingsField.MotionVectors);
return frameSettings.IsEnabled(FrameSettingsField.TransparentsWriteMotionVector);
}

/// <summary>
Expand Down

0 comments on commit 4e89992

Please sign in to comment.