Hello. I exported from blender model tree. All it is going well, but there is a problem. The shadow is reflected on the surface of the trunk, branches and the shadow - no. Perhaps the problem model? (link to the model below, the archive is exported tree.json)
Well, model seems to be ok. I think your code in JS is not correct like castShadow is not turn on;
castShadow = false;
I've downloaded your model and make a scene, here you go link to jsfiddle .
three.js r.72
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.