这是一个简单的png
文件,导入到Image Texture
组件(第一张图片的左侧)添加的blender add,带有透明背景。
我以两种格式导出了这种纹理,第一种是.blend
,第二种是.fbx
格式。
但是,当我将这些纹理导出到混合器(两种格式)都是一个黑色矩形并且球体没有任何纹理时,它们都是灰色的。
我目前在导入纹理时做错了什么?
答案 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/