Unity 3D上的导入混合器纹理始终为黑色

时间:2016-04-25 02:14:05

标签: unity3d textures blender

我有下一个简单的Blender纹理: enter image description here enter image description here

这是一个简单的png文件,导入到Image Texture组件(第一张图片的左侧)添加的blender add,带有透明背景。 我以两种格式导出了这种纹理,第一种是.blend,第二种是.fbx格式。

但是,当我将这些纹理导出到混合器(两种格式)都是一个黑色矩形并且球体没有任何纹理时,它们都是灰色的。

我目前在导入纹理时做错了什么?

enter image description here

1 个答案:

答案 0 :(得分:1)

You are supposed to bake the material into texture.

I use Maya so I don't know the steps in Blender. You can google Bake Materials in Blender.When you bake the maps, you will get a Texture that is supported in Unity.

Usually, you create a simple flat plane, attach the material to the plane, position the camera in front of it, then bake it. For what you are doing, you only need the color map. You don't need normal maps and others.

Here are important links to learn that.

https://renderedsmoothie.wordpress.com/2013/09/05/baking-ambient-occlusion/

https://renderedsmoothie.wordpress.com/2013/08/31/how-to-bake-textures-and-materials/

https://www.blender.org/manual/render/workflows/bake.html

https://www.youtube.com/watch?v=Tj-S5QAac3U