CesiumGS / CesiumGS/cesium

Post processing broken in VR mode

Open
#8,705 1 comment 0 reactions 0 assignees View on GitHub
category - graphics category - post-processing type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Possibly the same underlying problem as https://github.com/CesiumGS/cesium/issues/8704 where full screen passes are not sampling the right part of the viewport.

[Sandcastle](https://sandcastle.cesium.com/#c=tVZRc6M2EP4ral6MZxwZDMY4cTy9pH3ITNpkmmuf/CJAtjUREiMJ+7i7/PeuAIPjOJfk0vKCWK0+fbtafcuGKLRhdEsVukCCbtEV1azI8D+Vzekl1eeVFIYwQVVvgL4tBIJnoy4LY6Q4Q0YVFAwL8dg/X4iFYEvk/NLA3Elt7pQEFH1vyIresFgRVWKmP2Uxo8LcJgkvNJPivshzqQxNnZoO1gkVtN/f7bdlIpVbTDhVxul9XjONYiW3GoinkmokpEG6xkBmTRGp8ZHcbYBy4ILymgzuWa6Plu5wiO6kjf+OE/BPgfhKoEymlFvvDUtpiuISXQIapyW6L7WhmV6IDaTOME41NU9zV7/83z7Xk843VCh+tpu9luIvqmWhEoqXSmafNPhcp040DoM+qnLYoGJFSVpC+jKmKYaghLMsRGIgGKdxadOznzScK5YxwzZUY5Kmra+NuI8lAKktIHZgVCmpWqhECi05xVyumpnz9mw3Tbn8UaXnYrdEr+UW1ZUwqC3k4HhvBS/BY0m43rkwYajQzFi7j93GGjOiweBirzFwKlZmfUXyyur6jRkOIb9nXylYvW4xL9R9N+HiKATqFfMm+w9CJg+yMNgokjw4bSw2vOpApeQxsZchlUmRQQh4Rc3vnNrhZQnn1Gtcqgo6RCV5zstLKFUmVrpDH+xw7ZqlVMixewmSUchCl9D2COwVaq14TfTtVkAd5FD7pWOXdffCPocsgPFtDDdjQ2JO91lUS7EuYp0oFlOnyFNi6N4ltfws4mNzOXYlgp55Ol3pQSiHxw35e1qRBzoAhXmw4vx43WAqbBApAF5CCikRe4mxZddH378fmTpWf/2X9ihAs6TK9NFVR3f+Ofiu4i/Qn0UWg8B2kO3k6zjVHTkCYe2vr+4u1BGIdvJ1nPYGHoHZzb0hlv0reyymvflGs4/UYitOCVS4IoflV1vBqR7YcmSmLtN93SbQfzQjwne8kR94owkejabBxHO9MBig07Ebha7n4TAMg8CH6QHyQx+eCXYDz/fHnhuM+90uKVM0+eE2py4e+57rhoE/DUeeF/oe7ONi3x1Np67nR17kRlHghZV1MvX8IAzcSRRGo7EX7G2l2GptfrRNFITReDpyJ+NgFLoTAASFHU8Cd+x5MBFA85lY29idTKPpKAKnAGLd26Kw9fIMGydKwgHs0xigw/gHL/Dq1+d2MjiZaVNyOq+L5VeWVW0cuqaD8RC6bc7hwPUwLpIHaItJrVOz4W7RLGUbxNKLxcnB78riBCWcaA0zy4JzW0OLk/lsCP5PlnFJrGLfbqjipLQua29+UxsxxrMhfD5f1Wg6uIPVWJmaz0ws07KJY2bUvBPpmUnnzU8Pau/BbAjWpz4zJvIC/mHKnNqA1jR5iOUXiASKnpzG0Ft2ZpqeVZ23CqnFgaF6OwFklevDLI7J4TtYXe+k71UiiogVHCHKmIAvz47IFztyYWhFp7Hus9wQXtCz7ndjgCrL35WKnKFetUHvHXRvKo1EIJLv5Ot2fDu68E/zAuNWiz/M2AoostX/nyT4ZcY72f8w4UvoZP9vcm2v/DhNaE7oZ5PbEQ7eRHivEb6DOLwqSYJ3pVDWUgvZvw) (make sure to click the VR button) - AO only gets applied to the right eye.

![bad1](https://user-images.githubusercontent.com/915398/77716844-73283500-6fb5-11ea-8a28-e8c7500c70fa.jpg)

Contributor guide

Open the contributing guide

Research direction

Start with the linked Sandcastle reproduction in VR mode and compare the behavior with issue #8704. Trace the post-processing/full-screen pass viewport sampling; done means ambient occlusion is applied correctly to both eyes rather than only the right eye.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ar-vr-xr, computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.