|
|
@@ -26,7 +26,7 @@ function s3mlayerAttribute(props) {
|
|
|
rain: false,
|
|
|
snow: false,
|
|
|
surfaceTransparency: 1,
|
|
|
- cloudsUrl: 'public/img/skyboxs/clouds/clouds1.png',
|
|
|
+ cloudsUrl: '/img/skyboxs/clouds/clouds1.png',
|
|
|
skyboxSources: null,
|
|
|
skyboxType: 'cloudy',
|
|
|
uspeed: 0,
|
|
|
@@ -50,36 +50,36 @@ function s3mlayerAttribute(props) {
|
|
|
|
|
|
state.skyboxSources = {
|
|
|
bluesky: {
|
|
|
- positiveX: 'public/img/skyboxs/bluesky/Right.jpg',
|
|
|
- negativeX: 'public/img/skyboxs/bluesky/Left.jpg',
|
|
|
- positiveY: 'public/img/skyboxs/bluesky/Front.jpg',
|
|
|
- negativeY: 'public/img/skyboxs/bluesky/Back.jpg',
|
|
|
- positiveZ: 'public/img/skyboxs/bluesky/Up.jpg',
|
|
|
- negativeZ: 'public/img/skyboxs/bluesky/Down.jpg'
|
|
|
+ positiveX: '/img/skyboxs/bluesky/Right.jpg',
|
|
|
+ negativeX: '/img/skyboxs/bluesky/Left.jpg',
|
|
|
+ positiveY: '/img/skyboxs/bluesky/Front.jpg',
|
|
|
+ negativeY: '/img/skyboxs/bluesky/Back.jpg',
|
|
|
+ positiveZ: '/img/skyboxs/bluesky/Up.jpg',
|
|
|
+ negativeZ: '/img/skyboxs/bluesky/Down.jpg'
|
|
|
},
|
|
|
sunsetglow: {
|
|
|
- positiveX: 'public/img/skyboxs/sunsetglow/Right.jpg',
|
|
|
- negativeX: 'public/img/skyboxs/sunsetglow/Left.jpg',
|
|
|
- positiveY: 'public/img/skyboxs/sunsetglow/Front.jpg',
|
|
|
- negativeY: 'public/img/skyboxs/sunsetglow/Back.jpg',
|
|
|
- positiveZ: 'public/img/skyboxs/sunsetglow/Up.jpg',
|
|
|
- negativeZ: 'public/img/skyboxs/sunsetglow/Down.jpg'
|
|
|
+ positiveX: '/img/skyboxs/sunsetglow/Right.jpg',
|
|
|
+ negativeX: '/img/skyboxs/sunsetglow/Left.jpg',
|
|
|
+ positiveY: '/img/skyboxs/sunsetglow/Front.jpg',
|
|
|
+ negativeY: '/img/skyboxs/sunsetglow/Back.jpg',
|
|
|
+ positiveZ: '/img/skyboxs/sunsetglow/Up.jpg',
|
|
|
+ negativeZ: '/img/skyboxs/sunsetglow/Down.jpg'
|
|
|
},
|
|
|
sunset: {
|
|
|
- positiveX: 'public/img/skyboxs/sunset/Right.png',
|
|
|
- negativeX: 'public/img/skyboxs/sunset/Left.png',
|
|
|
- positiveY: 'public/img/skyboxs/sunset/Front.png',
|
|
|
- negativeY: 'public/img/skyboxs/sunset/Back.png',
|
|
|
- positiveZ: 'public/img/skyboxs/sunset/Up.png',
|
|
|
- negativeZ: 'public/img/skyboxs/sunset/Down.png'
|
|
|
+ positiveX: '/img/skyboxs/sunset/Right.png',
|
|
|
+ negativeX: '/img/skyboxs/sunset/Left.png',
|
|
|
+ positiveY: '/img/skyboxs/sunset/Front.png',
|
|
|
+ negativeY: '/img/skyboxs/sunset/Back.png',
|
|
|
+ positiveZ: '/img/skyboxs/sunset/Up.png',
|
|
|
+ negativeZ: '/img/skyboxs/sunset/Down.png'
|
|
|
},
|
|
|
cloudy: {
|
|
|
- positiveX: 'public/img/skyboxs/cloudy/Right.png',
|
|
|
- negativeX: 'public/img/skyboxs/cloudy/Left.png',
|
|
|
- positiveY: 'public/img/skyboxs/cloudy/Front.png',
|
|
|
- negativeY: 'public/img/skyboxs/cloudy/Back.png',
|
|
|
- positiveZ: 'public/img/skyboxs/cloudy/Up.png',
|
|
|
- negativeZ: 'public/img/skyboxs/cloudy/Down.png'
|
|
|
+ positiveX: '/img/skyboxs/cloudy/Right.png',
|
|
|
+ negativeX: '/img/skyboxs/cloudy/Left.png',
|
|
|
+ positiveY: '/img/skyboxs/cloudy/Front.png',
|
|
|
+ negativeY: '/img/skyboxs/cloudy/Back.png',
|
|
|
+ positiveZ: '/img/skyboxs/cloudy/Up.png',
|
|
|
+ negativeZ: '/img/skyboxs/cloudy/Down.png'
|
|
|
}
|
|
|
};
|
|
|
|