Skip to content

Commit

Permalink
Update skybox.js
Browse files Browse the repository at this point in the history
Added steroBottomTop as option
  • Loading branch information
Mikael-Lovqvist committed Oct 13, 2021
1 parent 2d144c7 commit b4e88cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/render/nodes/skybox.js
Expand Up @@ -150,6 +150,12 @@ export class SkyboxNode extends Node {
material.texCoordScaleOffset.value = [1.0, 0.5, 0.0, 0.0,
1.0, 0.5, 0.0, 0.5];
break;

case 'stereoBottomTop':
material.texCoordScaleOffset.value = [1.0, 0.5, 0.0, 0.5,
1.0, 0.5, 0.0, 0.0];
break;

case 'stereoLeftRight':
material.texCoordScaleOffset.value = [0.5, 1.0, 0.0, 0.0,
0.5, 1.0, 0.5, 0.0];
Expand Down

0 comments on commit b4e88cb

Please sign in to comment.