r/GraphicsProgramming • u/Karones • 5d ago
Article Frame and Performance Analysis - Timberborn
https://xandev.blog.br/studies/timberborn-frame-analysis/#the-frame
35
Upvotes
r/GraphicsProgramming • u/Karones • 5d ago
•
u/AutoModerator 5d ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
6
u/Karones 5d ago edited 3d ago
This is my first time doing a frame analysis of a videogame, but not my first reverse enginnering. Learning RenderDoc, RGP and many new concepts while analysing the rendering took a lot longer than expected, but it's finally done.
Update: Discovered what the invisible grid was for! Article is updated.
Edit regarding AI usage: I tried using AI to decompile the water vertex shader, giving it the SPIR and texture names, it seemed to understand quite well what each part of the shader was doing, but because I myself didn't understand the SPIR from RenderDoc, I didn't include any of it in the article.
2
u/Shadewalking_Bard 4d ago
About a texture that is expensive to render is not visible by default and is above the map.
Most likely this is the slice view texture that displays when terrain is sliced. You can trigger this functionality in game with alt + mouse scroll.
2
u/BigPurpleBlob 5d ago
I found that fascinating, with great figures too (a picture is worth a thousand words). Thanks!
1
u/schnautzi 2d ago
That's pretty rough. Especially with all that simulation work, they could have used async compute to fill those bubbles.