unity, trail renderer gone black on iOS
2015-07-05 02:22
513 查看
给物体加了个trail renderer,使用了Legacy Shaders/Transparent/Diffuse,并将颜色调成白色半透明。在编辑器里效果是对的,但在ios上真机测试变成黑色的。然后看TrailRenderer的文档(http://docs.unity3d.com/Manual/class-TrailRenderer.html),里面写道:
Trail Renderers should use a material that has a Particle Shader.
于是改用Mobile/Particle/Alpha Blended,并添加一张白色半透明贴图上去,再在ios真机测试,效果正常了。
Trail Renderers should use a material that has a Particle Shader.
于是改用Mobile/Particle/Alpha Blended,并添加一张白色半透明贴图上去,再在ios真机测试,效果正常了。
相关文章推荐
- rails 中使用association 生成select 下拉框的一些小技巧
- 图灵 数理逻辑 人工智能 图灵机与计算问题 论文
- LeetCode Contains Duplicate (判断重复元素)
- Leetcode#11 Container With Most Water
- 【Leetcode】Factorial Trailing Zeroes
- 人工智能的篱笆
- 单文档的BCG程序,为什么在CMainFrame::OnCreate最后设置工具条的标题,为什么无效?
- 在Maven的Web项目中用Main函数测试Hibernate
- failed to sync branch You might need to open a shell and debug the state of this repo.
- 172_Factorial Trailing Zeroes
- Filter及FilterChain的使用详解
- MongoDB的学习--explain()和hint()
- Leetcode:Container With Most Water
- errorC2440:CMainFrame 无法从 NMTOOLBARA 转换为 NMHDR
- Leetcode 70 Climbing Stairs
- FromSIP Stack Training
- 535 5.7.8 Error: authentication failed: generic failure安装EMOS时SMTP测试报错
- Leetcode 217 Contains Duplicate
- Leetcode 219 Contains Duplicate II
- 百度地图 带AK可直接运行的baidumapsdk demo