Skip to content

Commit 70dd5fc

Browse files
authored
Merge pull request #128 from De-Panther/ar_clear_flags
Handle smearing issues in AR
2 parents b36b928 + 16e9dfc commit 70dd5fc

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

Packages/webxr-interactions/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Fixed
9+
- Smearing issues in AR.
10+
11+
### Changed
12+
- AR cameras Clear Flags in the WebXRCameraSet prefabs.
813

914
## [0.7.0] - 2020-02-13
1015
### Added

Packages/webxr-interactions/Runtime/Prefabs/WebXRCameraSet.prefab

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,7 @@ MonoBehaviour:
336336
m_Name:
337337
m_EditorClassIdentifier:
338338
hand: 1
339-
simulate3dof: 0
340-
eyesToElbow: {x: 0.1, y: -0.4, z: 0.15}
341-
elbowHand: {x: 0, y: 0, z: 0.25}
339+
alwaysUseGrip: 0
342340
--- !u!114 &114589835210473740
343341
MonoBehaviour:
344342
m_ObjectHideFlags: 0
@@ -551,9 +549,7 @@ MonoBehaviour:
551549
m_Name:
552550
m_EditorClassIdentifier:
553551
hand: 2
554-
simulate3dof: 0
555-
eyesToElbow: {x: 0.1, y: -0.4, z: 0.15}
556-
elbowHand: {x: 0, y: 0, z: 0.25}
552+
alwaysUseGrip: 0
557553
--- !u!114 &114372649503696970
558554
MonoBehaviour:
559555
m_ObjectHideFlags: 0
@@ -814,8 +810,8 @@ Camera:
814810
m_GameObject: {fileID: 3250837035476248814}
815811
m_Enabled: 1
816812
serializedVersion: 2
817-
m_ClearFlags: 4
818-
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
813+
m_ClearFlags: 2
814+
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0.019607844}
819815
m_projectionMatrixMode: 1
820816
m_GateFitMode: 2
821817
m_FOVAxisMode: 0
@@ -981,8 +977,8 @@ Camera:
981977
m_GameObject: {fileID: 6032564905858711458}
982978
m_Enabled: 1
983979
serializedVersion: 2
984-
m_ClearFlags: 4
985-
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
980+
m_ClearFlags: 2
981+
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0.019607844}
986982
m_projectionMatrixMode: 1
987983
m_GateFitMode: 2
988984
m_FOVAxisMode: 0

Packages/webxr-interactions/Samples~/Desert/Prefabs/WebXRCameraSet.prefab

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,8 +2037,8 @@ Camera:
20372037
m_GameObject: {fileID: 3250837035476248814}
20382038
m_Enabled: 1
20392039
serializedVersion: 2
2040-
m_ClearFlags: 4
2041-
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
2040+
m_ClearFlags: 2
2041+
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0.019607844}
20422042
m_projectionMatrixMode: 1
20432043
m_GateFitMode: 2
20442044
m_FOVAxisMode: 0
@@ -2111,8 +2111,8 @@ Camera:
21112111
m_GameObject: {fileID: 6032564905858711458}
21122112
m_Enabled: 1
21132113
serializedVersion: 2
2114-
m_ClearFlags: 4
2115-
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
2114+
m_ClearFlags: 2
2115+
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0.019607844}
21162116
m_projectionMatrixMode: 1
21172117
m_GateFitMode: 2
21182118
m_FOVAxisMode: 0

0 commit comments

Comments
 (0)