Skip to content

Commit

Permalink
Reduce videosphere size to prevent far plane clipping in VR mode on A…
Browse files Browse the repository at this point in the history
…ndroid devices (fix #4365)
  • Loading branch information
dmarcos committed Dec 20, 2019
1 parent 1780b4f commit 7b1a50f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/extras/primitives/primitives/a-sky.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ registerPrimitive('a-sky', utils.extendDeep({}, getMeshMixin(), {
defaultComponents: {
geometry: {
primitive: 'sphere',
radius: 5000,
radius: 500,
segmentsWidth: 64,
segmentsHeight: 32
},
Expand Down
2 changes: 1 addition & 1 deletion src/extras/primitives/primitives/a-videosphere.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ registerPrimitive('a-videosphere', utils.extendDeep({}, getMeshMixin(), {
defaultComponents: {
geometry: {
primitive: 'sphere',
radius: 5000,
radius: 500,
segmentsWidth: 64,
segmentsHeight: 32
},
Expand Down

0 comments on commit 7b1a50f

Please sign in to comment.