forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently foveation is set to 1.0 on setSession, and there's no way to set it before, because it's not saved anywere when session is not active. So the only way to set it to a non-default value is to call setSession and call setFoveation afterwards. That leads to hacks in certain scenarios like pmndrs/xr#235. This PR allows setting it beforehand, while being backwards compatible
- Loading branch information
1 parent
88e8954
commit 5f6f25d
Showing
1 changed file
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters