Pārlūkot izejas kodu

Removed sun entity from XR_Office level. Set ViewResolutionScale to 0.75 in Android (1080p). (#65)

Fixes https://github.com/o3de/o3de-extras/issues/61

Also setting OpenXR `ViewResolutionScale` to `0.75` for Android (1080p) to deliver stable 24 FPS in `Default_Level` and 12 FPS in `XR_Office`.

Signed-off-by: moraaar <[email protected]>
moraaar 2 gadi atpakaļ
vecāks
revīzija
a723dd6c2d

+ 0 - 74
Projects/OpenXRTest/Levels/XR_Office/XR_Office.prefab

@@ -65,79 +65,6 @@
         }
     },
     "Entities": {
-        "Entity_[1155164325235]": {
-            "Id": "Entity_[1155164325235]",
-            "Name": "Sun",
-            "Components": {
-                "Component_[13620450453324765907]": {
-                    "$type": "EditorLockComponent",
-                    "Id": 13620450453324765907
-                },
-                "Component_[2134313378593666258]": {
-                    "$type": "EditorInspectorComponent",
-                    "Id": 2134313378593666258
-                },
-                "Component_[234010807770404186]": {
-                    "$type": "EditorVisibilityComponent",
-                    "Id": 234010807770404186
-                },
-                "Component_[2970359110423865725]": {
-                    "$type": "EditorEntityIconComponent",
-                    "Id": 2970359110423865725
-                },
-                "Component_[3722854130373041803]": {
-                    "$type": "EditorOnlyEntityComponent",
-                    "Id": 3722854130373041803
-                },
-                "Component_[5992533738676323195]": {
-                    "$type": "EditorDisabledCompositionComponent",
-                    "Id": 5992533738676323195
-                },
-                "Component_[7378860763541895402]": {
-                    "$type": "AZ::Render::EditorDirectionalLightComponent",
-                    "Id": 7378860763541895402,
-                    "Controller": {
-                        "Configuration": {
-                            "Intensity": 1.0,
-                            "CameraEntityId": "Entity_[605262872079]",
-                            "ShadowmapSize": "Size2048",
-                            "SplitRatio": 0.8500000238418579,
-                            "IsCascadeCorrectionEnabled": true,
-                            "ShadowFilterMethod": 1,
-                            "Shadow Bias": 0.0,
-                            "Normal Shadow Bias": 10.0,
-                            "CascadeBlendingEnabled": true,
-                            "FullscreenBlurDepthFalloffStrength": 84.0
-                        }
-                    }
-                },
-                "Component_[7892834440890947578]": {
-                    "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
-                    "Id": 7892834440890947578,
-                    "Parent Entity": "Entity_[1176639161715]",
-                    "Transform Data": {
-                        "Translate": [
-                            0.0,
-                            0.0,
-                            13.487043380737305
-                        ],
-                        "Rotate": [
-                            -155.98919677734375,
-                            152.16427612304688,
-                            -20.14667510986328
-                        ]
-                    }
-                },
-                "Component_[8599729549570828259]": {
-                    "$type": "EditorEntitySortComponent",
-                    "Id": 8599729549570828259
-                },
-                "Component_[952797371922080273]": {
-                    "$type": "EditorPendingCompositionComponent",
-                    "Id": 952797371922080273
-                }
-            }
-        },
         "Entity_[1163754259827]": {
             "Id": "Entity_[1163754259827]",
             "Name": "Camera",
@@ -288,7 +215,6 @@
                     "$type": "EditorEntitySortComponent",
                     "Id": 5855590796136709437,
                     "Child Entity Order": [
-                        "Entity_[1155164325235]",
                         "Entity_[1180934129011]",
                         "Entity_[1163754259827]"
                     ]

+ 1 - 1
Projects/OpenXRTest/Registry/OpenXR.setreg

@@ -3,7 +3,7 @@
         "Atom": {
             "OpenXR": {
                 "Enable": true,
-                "android_ViewResolutionScale": 1.0
+                "android_ViewResolutionScale": 0.75
             }
         }
     }