当另一个对象内的三个对象中的一个字符在三j中,如何获得更黑暗的阴影?

发布于 2025-01-17 10:15:55 字数 693 浏览 3 评论 0原文

在我的场景中,我正在使用AmbientlightDirectionallight。如您在图像中看到的那样,有树木和角色。树木的阴影很大,我的角色也铸造了阴影。我想要的是,当我的角色在树的阴影中时,它将其自身的阴影投射到地面上。对于地面,我正在使用plangeemetrymeshstandardmaterial

我也需要这里的角色阴影(更暗);

我需要这样的东西:

In my scene, I’m using AmbientLight and DirectionalLight. As you can see in the images, there are trees and a character. Trees have big shadows, also my character casts shadow as well. The thing I want is, when my character inside the shadow of a tree, it casts darker shadow of itself to the ground. For the ground, I’m using PlaneGeometry and MeshStandardMaterial.

enter image description here

I need characters shadow (darker) in here as well;

enter image description here

I need something like this:

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文