英文:
Unable to get a proper UV Mapped object from Blender to Unity
问题
我有一个经过UV映射的谷物盒子,我将其导出为FBX文件,以及从Blender导出的相应纹理。
我将这些文件导入Unity,并注意到模型在预览中显示正常,但当我将其拖放到场景视图中时,部分纹理消失(如下面的快照所示)。
在Unity中如何解决这个问题?谢谢。
在Unity中,我还尝试了提取材质并将Blender的纹理资产应用到Unity中提取的材质上,但问题仍然存在。
英文:
I have a UV Mapped Cereal box that I exported as an FBX file and its corresponding texture from Blender.
I imported these files into Unity and I'm noticing that the model is displayed as expected in the preview but when I drag and drop it into the scene view some part of the texture disappears (as can be seen in the snapshot below)
Any ideas on how this can be fixed?
Thank you.
In unity, I've also tried extracting the material and applying the texture asset from Blender to the extracted material in Unity but the problem still persists
答案1
得分: 1
模型、UV或FBX文件本身没有问题。问题在于您已经导出了一个光源。
Blender和Unity对光强的理解有很大的不同。在Blender中,光强以瓦特(watts)为单位,而在Unity中,光强的单位是工程师们决定的正常白天光强(没有给出具体数值,但明显远高于1瓦特)。
因此,当您打算用相当于10个灯泡的光来照明盒子时,实际上您是用1000个太阳的光照亮了它。显然,您的显示器无法变得足够明亮以至于灼伤您的视网膜,只能呈现纯白色。
您有几种方法可以解决这个问题:
- 手动更改光源的强度,就像GIF中所示。
- 在导出时排除光源(在Blender导出设置中,您可以在“包括”选项卡的“对象类型”下执行此操作)。
- 在Blender中手动降低光源的功率。
英文:
There is no issue with the model, UV or FBX file in of itself. The problem is that you have exported a light source with it.
Blender and Unity have a very different understanding of what the intensity of the light actually means. In Blender it is in watts and in Unity its whatever the engineers decided normal daylight to be (there is no value given, but it is significantly more than 1 watt).
As a result when you intended to light the box with the equivalent of 10 light bulbs you instead lit it with the power of 1000 suns. Obviously your display can't get bright enough to burn your retinas and has to settle for pure white.
You have a number of choices on how to fix this:
- manually change the intensity, like shown in the gif
- exclude light sources from export (in the Blender export settings you can do that under the
Include
tabObject Types
) - manually reduce the power of the light source in blender
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论