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 @@ -25,6 +25,7 @@ The version number for this package has increased due to a version update of a r
- Fixed precision issue with the atmospheric fog.
- Claryfied doc for the LayeredLit material.
- Fixing exceptions in the console when putting the SSGI in low quality mode (render graph).
- Fixed NullRef Exception when decals are in the scene, no asset is set and HDRP wizard is run.

### Changed
- Combined occlusion meshes into one to reduce draw calls and state changes with XR single-pass.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,6 @@ public void InitializeMaterialValues()
if (m_Material == null)
return;

bool perChannelMask = HDRenderPipeline.currentAsset.currentPlatformRenderPipelineSettings.decalSettings.perChannelMask;

// TODO: this test is ambiguous, it should say, I am decal or not.
// We should have 2 function: I am decal or not and I am a SG or not...
m_IsHDRenderPipelineDecal = IsHDRenderPipelineDecal(m_Material);
Expand Down Expand Up @@ -694,7 +692,6 @@ public void CreateDrawData()
Vector3 cameraPos = instance.CurrentCamera.transform.position;
var camera = instance.CurrentCamera;
Matrix4x4 worldToView = HDRenderPipeline.WorldToCamera(camera);
bool perChannelMask = instance.perChannelMask;
int cullingMask = camera.cullingMask;
ulong sceneCullingMask = HDUtils.GetSceneCullingMaskFromCamera(camera);

Expand Down