I turned my Minecraft clone into a Godot benchmark.

  Рет қаралды 5,489

SDG Games

SDG Games

Күн бұрын

Пікірлер: 11
@FinaISpartan
@FinaISpartan 2 жыл бұрын
The main reason why alot of these methods have poor performance isn't because of the number of rendered triangles, but rather, the constant communication between the GPU and the CPU, you should really look at the number of draw calls per frame. Drawing everything (or even better, not redrawing) in a single draw call with minimal CPU work will always lead to the highest performance so you should always try to achieve this when trying to solve performance issues. This is why GPU particles in Godot are almost always the best option for performance if you can implement it that way. They are similar to how multimesh works in Godot, but a multimesh is essentially doing the "vertex shading" on the CPU, then sending that vertex buffer to the GPU to be drawn in a single draw call. The advantage with a particle shader is that you simply pass a single mesh instance to the GPU and it will do the vertex shading + fragment shading on the GPU in a single draw call. For a voxel engine, unfortunately it's not possible to take advantage of Godot's particle shader due to its limitations, so the mesh method you explored is pretty much the best way to do this. Overall, great video! I love benchmarks and was thinking about making a series where I improve the performance of various open-source Godot projects.
@SDGGames
@SDGGames 2 жыл бұрын
Thanks for the explanation! I knew about the theory of batching, but I didn't think to measure the gpu performance during this video. A lot of my focus was on the generation speed, which is a CPU thing, but that part is a lot faster in Godot 4, so I'm seeing a lot more frame rate limitations now. I'll definitely keep and eye on draw calls and the visual profiler going forward.
@blox6180
@blox6180 2 жыл бұрын
this was honestly, a interesting video, you explained about optimizing, making chunks, mesh chunks, and alot more chunks, but pretty cool video. thanks for everything :)
@Anvilfolk
@Anvilfolk 2 жыл бұрын
If the documentation tripped you up, it might be worth creating an issue in godot/documentation's github! :)
@manuelnaim9206
@manuelnaim9206 2 жыл бұрын
Excellent, I try that too but at the end I'm using Zyllan's voxel plugin.
@SDGGames
@SDGGames 2 жыл бұрын
I looked at that one too. This project was about the journey, which is why I used so many different tools, but a good plugin is definitely a great solution in itself!
@Spartan322
@Spartan322 2 жыл бұрын
I get that its the journey and solving chunk and block problems is the goal, but I am just as much curious about how things like Zylan's voxel module implemented in your game compare against your solutions, in the least it would be a expected perfect world for Godot.
@SDGGames
@SDGGames 2 жыл бұрын
Honestly, "should I have just used a plugin for this" is a really good question to ask, and one that I unfortunately never stopped to consider. I'll add it to the list, it might be worth a revisit.
@KhainiSader
@KhainiSader 2 жыл бұрын
nice video!, I personally think the traditional way is the best :) Will love to the same examples applied in godot 4 without major changes in your algos. good luck!
@thomasbjarnelof2143
@thomasbjarnelof2143 2 жыл бұрын
Thanks for making the mistakes, so I don't have to 😀
@question_mark
@question_mark 2 жыл бұрын
thx =)
I Made Minecraft in Godot
28:36
RachelfTech
Рет қаралды 71 М.
I made an EVEN BETTER Minecraft
12:30
SimonDev
Рет қаралды 331 М.
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Happy birthday to you by Secret Vlog
00:12
Secret Vlog
Рет қаралды 5 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 81 МЛН
hacker
13:57
baconhairpro23
Рет қаралды 2
Learn Godot by Making Minecraft - Complete Crash Course
58:44
LegionGames
Рет қаралды 55 М.
I Paid Game Developers on Fiverr to Make Minecraft
11:13
BadGameDev
Рет қаралды 1,7 МЛН
Blazingly Fast Greedy Mesher - Voxel Engine Optimizations
23:35
I turned MINECRAFT into MINECRAFT 2 with TONS OF MODS!?!
16:15
ButterJaffa
Рет қаралды 202 М.
How to make Minecraft in C++ or any other language
9:28
Low Level Game Dev
Рет қаралды 54 М.
I accidentally made Blender in Godot
10:15
SDG Games
Рет қаралды 48 М.
Java Adding themes to images
22:03
iceiceninja
Рет қаралды 71
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН