mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 08:00:25 +02:00
Update foveation default settings to 'medium' for Quest compatibility
This commit is contained in:
1 parent
c536f0087d
commit
333b263e9b
5 files changed
+21
-9
No files matched your search
@@ -261,8 +261,12 @@ inline bool IsSupportedVrPerformanceLevel(std::string_view value) {
|
||||
// 4x4 pixel blocks, the higher the level the closer to the centre. Whether the
|
||||
// GPU device gets fragment density maps at all is decided at launch, so going
|
||||
// from "off" to a level takes a restart; between levels and back to "off" it is
|
||||
// live.
|
||||
// live. The Quest starts at "medium"; elsewhere it does nothing.
|
||||
#if defined(__ANDROID__)
|
||||
inline constexpr const char* kVrFoveationDefault = "medium";
|
||||
#else
|
||||
inline constexpr const char* kVrFoveationDefault = "off";
|
||||
#endif
|
||||
inline constexpr std::array<std::string_view, 4> kVrFoveationLevels{"off", "low", "medium", "high"};
|
||||
|
||||
inline bool IsSupportedVrFoveation(std::string_view value) {
|
||||
|
||||
Reference in new issue
Block a user