I am currently working on a project utilizing threebox js and attempting to incorporate shadows for imported 3D models. Following the guidelines outlined in the documentation here. When creating an object, I adjust the property to TRUE (code snippet provided below).
window.tb.loadObj(proptions, function (model) {
model.setCoords(place);
model.addTooltip("A radar in the middle of nowhere", true);
model.setRotation({ x: 0, y: 0, z: Math.floor(Math.random() * 100) })
model.castShadow = true;
window.tb.add(model);
});
After implementing this approach, here is the result: https://i.sstatic.net/6DCQ2.png
Issue Resolved
Following @jscastro's response, it was identified that the 3D model used had its own light source which interfered with the scene lights. Refer to @jscastro's detailed explanation for more information.