SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 30 day free trial to unlock unlimited reading.
そう、UE4ならね。あなたのモバイルゲームをより快適にする沢山の冴えたやり方について Part 2 <Texture Streaming, メモリプロファイル, Auto Instancing編>
123.
Auto Instancing on Mobile のいいところ
事前セットアップが不要
Movable な Static Meshも Instancingの対象に!
Frame : 25.99 ms
Game : 13.64 ms
Draw : 27.70 ms
Mem : 319.6 MB
Draws : 6175
Prims : 301.6K
Frame : 16.68 ms
Game : 12.33 ms
Draw : 15.74 ms
Mem : 297.6 MB
Draws : 54
Prims : 295.9K
124.
注意点
公式ドキュメント
https://docs.unrealengine.com/ja/Programming/Rendering/MeshDrawing
Pipeline/index.html
● Auto Instancingを行うための処理の負荷が加算
● モバイルでは
Static Light を無効にする必要あり
● Auto Instancingの対象になるには
幾つかの条件を満たす必要あり
● 現在Mali端末では正常に動作しない(修正中)
128.
参考資料
● Optimizing UE4 for Fortnite: Battle Royale - Part 1,2
● https://www.youtube.com/watch?v=KHWquMYtji0
● https://www.youtube.com/watch?v=1xiwJukvb60
● Epic Games Wang Wei:UE4のマルチプレイヤーゲームの最適化
● https://zhuanlan.zhihu.com/p/43742565
● Using UE4 to Develop for Oculus Rift and Oculus Quest
● https://www.youtube.com/watch?v=hEtu-ciPc7g
● ARK on iOS: Leveraging UE4 for 98% Content Reduction
● https://www.unrealengine.com/ja/events/unreal-fest-europe-2019/ark-on-ios-coding-and-design-tips-for-
truly-unreal-success-on-mobile?lang=ja
● ARK on iOS: Coding and Design Tips for Truly Unreal Success on Mobile
● https://www.unrealengine.com/ja/events/unreal-fest-europe-2019/ark-on-ios-leveraging-ue4-for-98-
content-reduction?lang=ja
● Developer Perspective: Improving Memory Usage and Load Times in UE4
● https://developer.oculus.com/blog/developer-perspective-improving-memory-usage-and-load-times-in-
ue4/
● Developer Perspective: UE4 Logging and Console Commands for Mobile VR
● https://developer.oculus.com/blog/developer-perspective-ue4-logging-and-console-commands-for-mobile-
vr/
129.
参考資料 <WWDC>
● Delivering Optimized Metal Apps and Games
● https://developer.apple.com/videos/play/wwdc2019/606/
● Metal Shader Debugging and Profiling
● https://developer.apple.com/videos/play/wwdc2018/608/
● Metal for Game Developers
● https://developer.apple.com/videos/play/wwdc2018/607/
● Metal 2 Optimization and Debugging
● https://developer.apple.com/videos/play/wwdc2017/607/