Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -50,6 +50,7 @@ The version number for this package has increased due to a version update of a r
- Fixed atmospheric scattering being incorrectly enabled when scene lighting is disabled.
- Fixed for changes of color curves not being applied immediately.
- Fixed the rendering order of decals that have a similar draw order value.
- Fixed HDRP build issues with DOTS_INSTANCING_ON shader variant.

## [13.1.2] - 2021-11-05

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@
#undef SHADEROPTIONS_CAMERA_RELATIVE_RENDERING

// Define the correct matrices
#ifndef UNITY_DOTS_INSTANCING_ENABLED

#undef unity_ObjectToWorld
#undef unity_MatrixPreviousM
#undef unity_MatrixVP
float4x4 unity_MatrixV;
float4x4 unity_MatrixVP;
float4x4 glstate_matrix_projection;

#undef UNITY_MATRIX_M
#define UNITY_MATRIX_M unity_ObjectToWorld
Expand All @@ -29,6 +27,13 @@ float4x4 glstate_matrix_projection;
#undef UNITY_PREV_MATRIX_I_M
#define UNITY_PREV_MATRIX_I_M Inverse(unity_MatrixPreviousM)

#endif

#undef unity_MatrixVP
float4x4 unity_MatrixV;
float4x4 unity_MatrixVP;
float4x4 glstate_matrix_projection;

#undef UNITY_MATRIX_V
#define UNITY_MATRIX_V unity_MatrixV

Expand Down