当前位置:   article > 正文

[Carla/UE4]树木阴影闪烁问题及阴影出现黄色代码问题解决方式_your scene contains a skydome

your scene contains a skydome

1. 问题描述

在使用Carla官方库和一些网上下载的UE4树木、植物时会发现运行后树叶上的阴影在闪烁、移动。

----------》

放大了看还会发现阴影里出现这样的报错提示:Your scene contains a skydome mesh with a sky material but it does not cover that part of the screen。

这个警告信息通常会出现在UE里面天空球不能覆盖的地方,用来提示调整天空球的范围。

2. 问题分析及临时措施

经过多次尝试后发现问题是出在树叶的材质上,在这个材质中,原作者为树叶制作了风吹的效果。这个效果在Carla自带的demo场景上是运行正常的,但是在导入我的场景后出现了问题。

那么解决方法也很简单了----在无法使其恢复正常运作的情况下,把这个风吹的效果临时禁用掉。

1. 选中树木、找到树叶的纹理

2. 点击“层级”按钮

3.找到世界场景位置偏移:断开所有引脚连接。不是树木的模型也可以参照这个步骤把材质里的世界场景位置偏移关掉试试。

3. 如果还不能解决

请参考Epic官方的UE引擎论坛,里面有人提出可以尝试给材质设置为Nanite或者将天空球由static mesh设置为EditorSkySphere解决。

Your scene contains a skydome mesh with a sky material but it does not cover that part of the screen - #21 by FXU-FP - Rendering - Epic Developer Community ForumsI’m trying to use scenecapture 2d to make a minimap, however the rendering target shows onlly black with a message “your scene contains a skydome mesh with a sky material but it does not cover that part of the screen”, …icon-default.png?t=N7T8https://forums.unrealengine.com/t/your-scene-contains-a-skydome-mesh-with-a-sky-material-but-it-does-not-cover-that-part-of-the-screen/482242/21

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/133043
推荐阅读
  

闽ICP备14008679号