当前位置: 首页 Unity开发

【Unity开发】在粒子系统中使用SpriteAtlas 效果重叠

时间:2023年05月17日 阅读:620
以下内容仅是站长或网友个人学习笔记、总结和研究收藏。不保证正确性,因使用而带来的风险与本站无关!
淘客轩-衣食住行外卖生活好助手

最近在开发中粒子系统遇到 效果重叠。

【Unity开发】在粒子系统中使用SpriteAtlas 效果重叠 - MOMO教程

  1. 使用了 Particles Texture Sheet Animation 且 spriteAtlas中勾选了 Tight packing

原因是 unity 官方在顶点数和 overdraw 之间找平衡。

Sorry for the tardy reply. Assigning Sprites to the Texture Sheet Animation Module worked great so far!
Quick question though. If I use "Tight" sprite packing, is the Particle System then using the generated sprite mesh or still using a quad?


感谢您的快速回复。 如果粒子系统改用精灵网格,你认为它会有优势吗? 它可能会导致透支减少,但我不确定额外的顶点增加是否会成为一个问题。

Thanks for the quick reply. Do you think it could be from advantage if the particle system uses the sprite mesh instead? It could lead to overdraw reduction, but I'm not sure if the additional vertex increase could become an issue.


是的,正如您预测的那样,这将是透支和顶点成本之间的权衡。 我确信至少在某些情况下它会获胜,但我们目前没有任何支持它的计划。 也许可以通过我们的网格粒子代码路径以某种方式完成。

Yeah, exactly as you predict, it will be a trade off between overdraw and vertex cost. It would win in at least some cases I’m sure, but we don’t have any current plans to support it. Maybe it could be done via our mesh particle code path somehow..

打赏
标签: Unity SpriteAtlas

本文地址:https://www.momojc.cn/unity/unitykaifaocd.html

相关推荐
支付宝领大额红包
支付宝领大额红包
似水流年
    今日已经过去小时
    这周已经过去
    本月已经过去
    今年已经过去个月
小姐姐视频

关于本站 | 隐私政策 | 免责声明 | 广告合作 | 我要投稿 | 后台管理

CopyRight © 2023-2024 MOMO教程 WWW.MOMOJC.CN , All Rights Reserved.

站长E-mail:378074730@qq.com 网站已运行:  运行时长:0.026 秒

京ICP备20029690号-1京ICP备20029690号-2 京公网安备11011402013892号京公网安备11011402013892号 中国互联网违法和不良信息举报中心 网络违法犯罪举报网站

本网站托管于 腾讯云 .由网站卫士提供网站加速和攻击防御服务 提供CDN加速/防御服务.由zblogcn强力驱动 又拍云提供CDN加速/云存储服务 51la网站统计