@@ -480,7 +480,7 @@
function setMouseCoords( x, y ) {
- mouseCoords.set( ( x / renderer.domElement.width ) * 2 - 1, - ( y / renderer.domElement.height ) * 2 + 1 );
+ mouseCoords.set( ( x / renderer.domElement.clientWidth ) * 2 - 1, - ( y / renderer.domElement.clientHeight ) * 2 + 1 );
mouseMoved = true;
}
@@ -160,7 +160,7 @@
scene.add( mesh );
// Materials
- var hdrpath = "../examples/textures/cube/hdrPisa/";
+ var hdrpath = "../examples/textures/cube/pisaHDR/";
var hdrformat = '.hdr';
var hdrurls = [
hdrpath + 'px' + hdrformat, hdrpath + 'nx' + hdrformat,