Skip to content

Commit

Permalink
Merge pull request mrdoob#17581 from Mugen87/dev34
Browse files Browse the repository at this point in the history
Examples: Clean up.
  • Loading branch information
Mugen87 authored Sep 26, 2019
2 parents 7835fed + 6e6f5f5 commit d467cd6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions examples/misc_exporter_collada.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@
textureMap.anisotropy = 16;

// REFLECTION MAP
var path = "textures/cube/skybox/";
var path = "textures/cube/pisa/";
var urls = [
path + "px.jpg", path + "nx.jpg",
path + "py.jpg", path + "ny.jpg",
path + "pz.jpg", path + "nz.jpg"
path + "px.png", path + "nx.png",
path + "py.png", path + "ny.png",
path + "pz.png", path + "nz.png"
];

textureCube = new THREE.CubeTextureLoader().load( urls );
Expand Down
8 changes: 4 additions & 4 deletions examples/webgl_geometry_teapot.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@
textureMap.anisotropy = 16;

// REFLECTION MAP
var path = "textures/cube/skybox/";
var path = "textures/cube/pisa/";
var urls = [
path + "px.jpg", path + "nx.jpg",
path + "py.jpg", path + "ny.jpg",
path + "pz.jpg", path + "nz.jpg"
path + "px.png", path + "nx.png",
path + "py.png", path + "ny.png",
path + "pz.png", path + "nz.png"
];

textureCube = new THREE.CubeTextureLoader().load( urls );
Expand Down
2 changes: 1 addition & 1 deletion examples/webgl_nearestneighbour.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
// add a skybox background
var cubeTextureLoader = new THREE.CubeTextureLoader();

cubeTextureLoader.setPath( 'textures/cube/skybox/' );
cubeTextureLoader.setPath( 'textures/cube/skyboxsun25deg/' );

var cubeTexture = cubeTextureLoader.load( [
'px.jpg', 'nx.jpg',
Expand Down
8 changes: 4 additions & 4 deletions examples/webgl_water.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@
// skybox

var cubeTextureLoader = new THREE.CubeTextureLoader();
cubeTextureLoader.setPath( 'textures/cube/skybox/' );
cubeTextureLoader.setPath( 'textures/cube/Park2/' );

var cubeTexture = cubeTextureLoader.load( [
'px.jpg', 'nx.jpg',
'py.jpg', 'ny.jpg',
'pz.jpg', 'nz.jpg',
"posx.jpg", "negx.jpg",
"posy.jpg", "negy.jpg",
"posz.jpg", "negz.jpg"
] );

scene.background = cubeTexture;
Expand Down

0 comments on commit d467cd6

Please sign in to comment.