Hello. There was such a problem: the texture superimposed on the object (1000x1000 in size) is not displayed. Here is the creation code:

var texture1 = THREE.ImageUtils.loadTexture('sand.jpg'); var cube, cube_geometry, cube_texture; cube_geometry = new THREE.CubeGeometry(100, 1, 100); cube_texture = new THREE.MeshLambertMaterial({map: texture1}); //cube_texture = new THREE.MeshNormalMaterial(); cube = new THREE.Mesh(cube_geometry, cube_texture); scene.add(cube); 

Global illumination is set, with the MeshNormalMaterial object displayed.

    1 answer 1

    In Google Chrome, textures are loaded only through the server (for security reasons). For example, you can work with textures through Denver. Perhaps, in the browser, you can lower the security requirements in the settings, did not try.

    In addition, the sides of the texture must be equal to a power of two (but not necessarily equal to each other). Ie .128px, 64px, etc.