shader真机调试


一、环境搭建

渲染逆向工程:打造一台调试任意Android游戏的设备

https://zhuanlan.zhihu.com/p/100583752

CSV模型转换工具:

链接:https://pan.baidu.com/s/1ktY0INxI6fsS98GE2iVGmw,提取码:c5c6

CSV模型转换工具源码地址:

https://github.com/Alunice/TaTa

二、RenderDoc

官网文档 https://renderdoc.org/docs/window/event_browser.html

三、华为官方图形调试器(魔改的RenderDoc)

官网

https://developer.huawei.com/consumer/cn/huawei-graphics-profiler/

文档

https://developer.huawei.com/consumer/cn/doc/development/Tools-Guides/overview-0000001050741459

在调试真机时,需要在 Tools — settings — Android 填写 jdk、sdk

image-20211029173232789 image-20211029173315923

四、Intel GPA

Intel GPA 可以在 Android 上分析渲染流程

https://zhuanlan.zhihu.com/p/68741433

GPA下载地址:

https://software.intel.com/content/www/us/en/develop/tools/graphics-performance-analyzers.html

GPA截帧教程:

https://zhuanlan.zhihu.com/p/68741433

竞品游戏模型破解流程:

https://blog.csdn.net/weixin_42198546/article/details/110387643#comments_15889636

GPA 模拟器抓帧:

https://zhuanlan.zhihu.com/p/68741433

image-20211029174130369

GPA截下来模型,不带UV,所以改用ninjaripper用来提取游戏内的模型

https://zhuanlan.zhihu.com/p/76979718

ninja 官网教程

https://cgig.ru/2012/10/ninja-ripper/

ninja ripper 抓夜神模拟器使用方式

image-20211029174411978 image-20211029174431488 image-20211029174445329

五、Snapdragon Profiler

AdrenoProfiler替代品,支持 Vulkan https://blog.csdn.net/weixin_38498942/article/details/89333185

六、Mali Graphics Debugger(ARM® Mali™ GPU的Android)

https://gameinstitute.qq.com/community/detail/103636

七、GAPID ( OpenGL ES 和 Vulkan)

GAPID (Graphics API Debugger)是 Google 的一款开源且跨平台的图形开发调试工具,用于记录和检查应用程序对图形驱动程序的调用,支持 OpenGL ES 和 Vulkan 调试。

https://www.zhihu.com/search?type=content&q=%E5%AE%89%E5%8D%93GPU%E8%B0%83%E8%AF%95

八、Xcode

九、Arm Mobile Studio

GDC 上的介绍:

https://www.gdcvault.com/play/1026742/Arm-Mobile-Studio-Providing-Insights

image-20211112114137272

官网:

https://developer.arm.com/tools-and-software/graphics-and-gaming/arm-mobile-studio

image-20211112114250837

支持的手机设备:

https://developer.arm.com/mobile-studio/devices

image-20211112114348397 image-20211112114413430

文章作者: 血魂S
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 血魂S !
  目录