-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Closed
Labels
Description
Hi all,
This is my model: http://yagiz.me/model/zombi.js
This is its texture: http://yagiz.me/model/zombi.png
And this is how I load it:
function loadModel() {
var loader = new THREE.JSONLoader();
var callback = function( geometry ) {
var mesh = new THREE.Mesh( geometry, new THREE.MeshBasicMaterial( { map : new THREE.Texture( "models/zombi/zombi.png" ) } ));
scene.addObject( mesh );
};
loader.load( "models/zombi/zombi.js", callback);
}Model has a UV data but I can't see the texture. It's all black? What do you think?