在UE4中设置天空球体为亮白色

Set up sky sphere to be bright white in UE4

我正在尝试为我的 Unreal Engine 4 游戏设置纯白色背景。我已经尝试用天空球体进行试验(将所有颜色设置为#FFFFFF 并将云不透明度和星星亮度设置为 0.0)。背景充其量只能保持暗灰色。 (如果我添加星星,星星是明亮的白色,与暗灰色背景形成鲜明对比)。

如何设置天空球体(或者可能是大气雾)以创建明亮的白色背景?

好的,我已经弄明白这是怎么回事了。

UE4 为自发光表面和泛光保留 'bright whites',引擎将 'normal' (#FFFFF) 白色表面柔和地固定为暗灰色。这有助于真正明亮的 materials 和效果脱颖而出。它由色调映射器处理,它将场景从 HDR 转换为 LDR。

这里有一个有趣的论坛主题:https://forums.unrealengine.com/showthread.php?51570-Washed-out-Colors-from-Tone-Mapping-How-bad-it-really-is-and-how-to-fix-it

这里有一句话很好地解释了这种情况:

“当前的行为是有意的。基色是一个 material 属性,它与光线(和视角)结合成为 HDR 颜色,仍然需要进行色调映射才能成为 LDR 颜色,因此显示器可以显示它。色调映射试图主要是线性的,但如果 HDR 输入值变得非常亮,它应该柔和地钳位到白色。这是必需的,因为在许多区域照明可以比 1 更亮,我们希望避免钳位工件.

"The pipeline is setup to make it easy to get real (physically based) content. Having a different default (e.g. no tonemapper) would break that goal. We intend to make the tonemapper pass more programmable (You already can override the tonemapper pass creating a Postprocess Material replacing the tonemapper but getting access to the properties is very very limited) so for some applications this default behavior can be altered." - Martin Mittring(Unreal Engine 开发者,Epic)

进一步阅读:

https://answers.unrealengine.com/questions/106489/white-not-white-ingame.html https://forums.unrealengine.com/showthread.php?99478-Struggle-Against-Tonemapper