Permalink
Browse files

three.js: updated example.

  • Loading branch information...
1 parent bd848fd commit a3b3e8a24c10c024391431dfa2195ab3457cab61 @mrdoob committed Aug 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 three.js/examples/webgl_materials_cubemap.html
@@ -107,7 +107,7 @@
reflectionCube.format = THREE.RGBFormat;
var refractionCube = new THREE.Texture( reflectionCube.image, new THREE.CubeRefractionMapping() );
- reflectionCube.format = THREE.RGBFormat;
+ refractionCube.format = THREE.RGBFormat;
//var cubeMaterial3 = new THREE.MeshPhongMaterial( { color: 0x000000, specular:0xaa0000, envMap: reflectionCube, combine: THREE.MixOperation, reflectivity: 0.25 } );
var cubeMaterial3 = new THREE.MeshLambertMaterial( { color: 0xff6600, ambient: 0x993300, envMap: reflectionCube, combine: THREE.MixOperation, reflectivity: 0.3 } );

0 comments on commit a3b3e8a

Please sign in to comment.