The Killing Antidote

The Killing Antidote

Jodi's Workshop
Costumes, makeup, challenge maps, what else.
Learn More
Lightmaps and Lightmass
Can anyone figure out what the hell is going on with lights in TKA?

Lightmaps are getting baked, but the game does not use them. I can't get any pre-calculated lighting to work. Static lights do not cast any shadows. Meshes set to Static do not cast shadows.

The only way to properly shadow everything is to set both lights and meshes to Stationary, which absolutely tanks FPS because shadows are pointlessly calculated in runtime during gameplay.

I've tried everything I could find and I still can't get lightmaps to work in-game.

有人能弄清楚 TKA 里的灯光到底怎么回事吗?

光照贴图确实被烘焙了,但游戏根本不使用它们。我无法让任何预计算的光照生效。静态光源不投射阴影,设置为静态的模型也不投射阴影。

唯一能让一切正常投影阴影的方法是把光源和模型都设置为 Stationary,但这会严重降低 FPS,因为阴影在游戏运行时被实时计算,完全是多余的。

我尝试了能找到的所有方法,但还是无法让光照贴图在游戏中正常工作。
< >
Showing 1-2 of 2 comments
JohnnySUN  [developer] 2 13 Feb @ 11:34pm 
非常抱歉,TKA的项目中关闭了静态照明,我忘记在文档中说明了。如果需要,我会在下一次更新版本时将其打开。
"我明白了,我还以为自己要疯了。谢谢你的解释!我们真的很需要 Static 照明,因为它能让我们制作光照效果更好、优化也更出色的地图。没有它,我们只能依赖动态照明,而在较大的环境中,动态照明会带来性能问题。
< >
Showing 1-2 of 2 comments
Per page: 1530 50