I can’t seem to get this GLTF jet to cast its shadows on the plane below it. What am I doing wrong?
Thank you, I’ll give them a look.
Well I got a circle to cast a shadow but that jet just won’t do it for me.
You need to set castShadow
to all subobjects in the model. See lines 124-126:
myModel.traverse( child => {
if( child.isObject3D ) child.castShadow = true;
})
3 Likes
Thank you! I have so much to learn. Now maybe I can get that shadow to have sharp edges instead of a jagged one. Thanks again.