1.8 - 半透明粒子阴影投射

概述效果库示例关卡。

Windows
MacOS
Linux

image038.png

UE4中的CPU Sprite可以在环境上投射阴影,我们可以在这个蓬松云朵的例子中看到这种情况。然而,应该注意的是,这样的阴影投射并不适用于GPU粒子。若要建立一个投射阴影的粒子系统,必须满足以下几个条件:

首先,发射器本身必须启用 投射阴影(Cast Shadow) 属性。

image040.png

其次,用于影响粒子的光源必须启用 投射半透明阴影(Cast Translucent Shadows)

image042.png

最后,阴影和自阴影行为的设置位于此粒子效果中使用的材质中,处在材质属性的两个 半透明(Translucency) 组下。此图像显示了来自 材质编辑器(Material Editor) 的上述属性。

image044.png

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback