Skip to content

Commit

Permalink
Merge pull request #9827 from keveleigh/openxr-mesh-update
Browse files Browse the repository at this point in the history
OpenXR mesh settings update
  • Loading branch information
David Kline committed May 17, 2021
2 parents c1c42a3 + 6979232 commit 53b5928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/MRTK/Providers/OpenXR/MRTK.OpenXR.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
{
"name": "com.microsoft.mixedreality.openxr",
"expression": "0.9.4",
"expression": "0.9.4-preview",
"define": "MSFT_OPENXR_0_9_4_OR_NEWER"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private bool SetMeshComputeSettings(SpatialAwarenessMeshDisplayOptions option, S
{
MeshType = (option == SpatialAwarenessMeshDisplayOptions.Visible) ? MeshType.Visual : MeshType.Collider,
VisualMeshLevelOfDetail = MapMRTKLevelOfDetailToOpenXR(levelOfDetail),
OcclusionHint = true
MeshComputeConsistency = MeshComputeConsistency.OcclusionOptimized,
};

return MeshSettings.TrySetMeshComputeSettings(settings);
Expand Down

0 comments on commit 53b5928

Please sign in to comment.