I’d importered a model from FBX with one of a alpha texture(*.png) just now.Then I loaded the model,setting the material(with the alpha texture).I sadly found that the material didn’t work probably while it worked normally in Material Edit.The error code is ‘Failed to create input layout for shader LitSolid(DIRLIGHT NORMALMAP PERPIXEL) due to missing vertex element’.What was the matter?How can I deal with it?
![]()



算了,敲英文太累了,看了你的主页我想中文你应该看得懂的.我这个模型只是随便从网上下载下来试用的.是fbx带有法线贴图的那种.我导出成mdl后在编辑器试用,但是如果我不设置灯光Pet VerTex为True的话,模型的纹理就会像图上一样莫名变黑
,如果我设置了Pet VerTex为True,模型能正常看到,但是法线贴图就无效了.但是我发现同样的纹理在box.mdl等基本模型上面就就没有任何问题. 我贴上我网上下载的模型,和转换后的模型



