Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Skin Color
- // ... other code snippet
- const headMaterials = [];
- for( let i = 0; i < 6; i++ ) {
- let map;
- if( i === 4 ) map = faceMap;
- else map = skinMap;
- headMaterials.push(new THREE.MeshStandardMaterial({ map }));
- }
Advertisement
Add Comment
Please, Sign In to add comment