I have loaded a shirt object with texture, set Ambient light and directional light, but the render part does not show clearly. Can someone help me figure out how to set the light effect? Here is my code:
var container;
var camera, scene, renderer;
var mouseX = 0, mouseY = 0;
var windowHalfX = window.innerWidth / 2;
var windowHalfY = window.innerHeight / 2;
init();
animate();
function init() {
// Code for initializing the scene
}
function animate() {
// Code for animating the scene
}
`