Alpha map in SceneKit

て烟熏妆下的殇ゞ 提交于 2019-12-08 11:48:34

问题


I am trying to correctly show the eyelashes of a model. I am using alpha map for the eyelashes but I have no idea how to correctly set it up in Xcode.

See image below.

(the same alpha map is used in Blender and when set transparency all is good).

thanks


回答1:


Transparency mapping in iOS is different to anything I've ever seen in all my years of 3D/CAD.

You must use a .png file with transparent areas transparent, and opaque areas as black.




回答2:


It's hard to tell by just a screenshot of the settings but I guess that the problem is the UV Channel which probably should be 0 rather than 1 (unless your 3D model really has multiple channels).



来源:https://stackoverflow.com/questions/43355942/alpha-map-in-scenekit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!