Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
27
Found in
2018.1.0a2
2018.1.0b9
Issue ID
1010047
Regression
Yes
Oculus VR view is dark with Linear Color space and Single-Pass Rendering
Steps to reproduce:
1. Download and open the latest project("linvr.zip")
2. Enter Playmode with the Oculus headset
3. Compare Game view in the editor and in the HMD
Expected result: the same
Actual result: VR view is significantly higher
Reproduced on 2018.1.0a2, 2018.1.0b10, 2018.2.0a3
Not reproduced on 2017.3.1p3, 2018.1.0a1
Regression introduced in 2018.1.0a2
Notes:
- Not reproducible on OpenVR, Gamma or MultiPass
VERIFIED Fixed 2018.1.4f1, 2018.2.0b2, 2018.3.0a1
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
equalsequals
May 07, 2018 15:56
I have found a workaround for unblocking testing in the HMD if switching to OpenVR is not an option.
If you do a final Blit from OnRenderImage, you can do the Linear->Gamma conversion yourself. I used the LinearToGammaSpaceExact helper in UnityCG.cginc:
#if defined(UNITY_SINGLE_PASS_STEREO)
col.rgb = fixed3( LinearToGammaSpaceExact(col.r), LinearToGammaSpaceExact(col.g), LinearToGammaSpaceExact(col.b));
#endif
Note that this will cause your Game View in Editor to appear overly bright, because it is doing the adjustment twice.
SuppleTeets
May 04, 2018 19:11
:,(