Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HL2 Best Practices #34

Closed
4 tasks done
maluoi opened this issue Nov 3, 2019 · 3 comments
Closed
4 tasks done

HL2 Best Practices #34

maluoi opened this issue Nov 3, 2019 · 3 comments
Labels
feature Related to new feature work

Comments

@maluoi
Copy link
Collaborator

maluoi commented Nov 3, 2019

There's still some remaining recommendations for OpenXR performance I haven't gotten to for StereoKit. Don't need to get them all in for 0.1, just need to review and snag the low hanging fruit for now.

Recommendations are all here:
https://github.com/microsoft/OpenXR-SDK-VisualStudio#understand-openxr-samples-and-best-practices-for-hololens-2

  • Rendertarget color format
  • Texture array rendertarget
  • Unbound reference space
  • MRC alpha blend
@maluoi maluoi added the feature Related to new feature work label Nov 3, 2019
@maluoi maluoi added this to Todo in StereoKit v0.1 via automation Nov 3, 2019
@thetuvix
Copy link

thetuvix commented Nov 9, 2019

Heads up that we just refined the recommendations there, including fixing up the recommended pixel format to be DXGI_FORMAT_B8G8R8A8_UNORM_SRGB, which is more optimal for performance on HoloLens 2 than linear formats. (avoids a render pass) Be sure you've got a gamma-correct render pipeline as you switch from linear to _SRGB here.

@maluoi
Copy link
Collaborator Author

maluoi commented Nov 9, 2019

Thanks for the heads up! :)

@maluoi
Copy link
Collaborator Author

maluoi commented Jan 2, 2020

Moving last remaining item, depth sharing, to v0.2:
#38

@maluoi maluoi closed this as completed Jan 2, 2020
StereoKit v0.1 automation moved this from In Progress to Done Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Related to new feature work
Projects
No open projects
Development

No branches or pull requests

2 participants