问题标签 [scnmaterial]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
29 浏览

swift - 应用自定义不透明度纹理 png 不适用于 SCNMaterial.transparent

将纹理作为 opacity.png 应用到 material.transparent.contents 时,模型仍然没有将它应用到漫反射内容上。

从漫反射内容中删除 alpha 有点工作,但仍然缺少似乎不起作用的透明纹理。

结果: https ://imgur.com/a/QfwI3Ha

它需要什么: https ://imgur.com/a/ax9Fr9A