-
Notifications
You must be signed in to change notification settings - Fork 0
/
texture_mountain.js
20 lines (19 loc) · 944 Bytes
/
texture_mountain.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const textureSrc = [
'texture/cubemap-mountain/negative-x.jpg',
'texture/cubemap-mountain/positive-x.jpg',
'texture/cubemap-mountain/negative-z.jpg',
'texture/cubemap-mountain/positive-z.jpg',
'texture/cubemap-mountain/negative-y.jpg',
'texture/cubemap-mountain/positive-y.jpg',
'texture/sphere-dreese.jpg',
'texture/texture-1.jpg',
'texture/texture-1-bump.jpg',
];
const textureCubemapSrc = [
['texture/cubemap-mountain/positive-x.jpg', 512, 'TEXTURE_CUBE_MAP_POSITIVE_X'],
['texture/cubemap-mountain/negative-x.jpg', 512, 'TEXTURE_CUBE_MAP_NEGATIVE_X'],
['texture/cubemap-mountain/positive-y.jpg', 512, 'TEXTURE_CUBE_MAP_POSITIVE_Y'],
['texture/cubemap-mountain/negative-y.jpg', 512, 'TEXTURE_CUBE_MAP_NEGATIVE_Y'],
['texture/cubemap-mountain/positive-z.jpg', 512, 'TEXTURE_CUBE_MAP_POSITIVE_Z'],
['texture/cubemap-mountain/negative-z.jpg', 512, 'TEXTURE_CUBE_MAP_NEGATIVE_Z'],
];