Skip to content

isaveu/WindowsMRLinearToGamma

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WindowsMRLinearToGamma

Windows Mixed Reality doesn't support the Linear Color Space, if you enable it, you'll see that the image in your HMD is darker than the preview on the screen. This is because the gamma correction is not applied. This image effect adds the gamma correction, allowing you to use the Linear color space with your Windows Mixed Reality headset.

Preview

You can take a look at the shader, it's very simple, basically it's "just" one line. If you want to learn more about the Linear/Gamma Color Spaces, please take a look at this link and especially this one.

Be careful to use this image effect have to be the last on your camera to work correctly. Oh and of course it works with Single Pass Stereo Rendering! (Instanced not supported sorry).

License

This project is licensed under the MIT license.

About

An image effect allowing you to use the Linear color space with Windows Mixed Reality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 68.1%
  • ShaderLab 31.9%