A Game Engine Built For Optimisation



Download the source code for the game engine and all my videos here: https://patreon.com/vercidium

I spent the past 6 years creating a game engine and I’ve been shocked at the things that can make or break performance.

I’ve compared 2 sunlight rendering methods and created a 3rd method that runs 70x faster.

Music is Irradiant and Spirit by Disjoint Square
https://disjointsquare.bandcamp.com

Timestamps
0:00 Intro
0:22 Skybox Lighting
0:57 Breaking the 4th Wall
2:04 Among Trees
2:28 Dynamic Beams
3:40 Transform Readback
5:00 Final Solution

#gamedev #gamedevelopment #gameengine

source

Related posts

【Xbox最新情報】ゲームパス2024年12月追加全タイトル&ゲームパスから外れるタイトル紹介【Xbox Game Pass】

Infinity Nikki Review

Testing Roblox’s FORBIDDEN GAMES..

44 comments

@pieterverhoeven1642 September 17, 2024 - 11:22 am
"It looks the same"
...
@local9 September 17, 2024 - 11:22 am
witchcraft
@hunterfivestars4601 September 17, 2024 - 11:22 am
Eh not good enough for volumetric lighting, i still think the first better even if it’s not perfect. But i do think there’s a better approach using a mix of the first one.
@daxmiller2670 September 17, 2024 - 11:22 am
i wonder if all these optimization can be apply to the source engine of Unreal Engine
@LeoJTNT September 17, 2024 - 11:22 am
Great video but how can I download this amazing game engine
@bigboy4432 September 17, 2024 - 11:22 am
how to download the eninge
@JimboJuice September 17, 2024 - 11:22 am
no, i haven't.
@FluffyPuppyKasey September 17, 2024 - 11:22 am
Honestly I've been working on a game in Godot and I've been wanting to at least attempt to optimize the engine to this sort of degree because I wanna make sure the game will run on anything and look good. Already I've got it to look fairly good at minimum settings, but I'm "only" getting about 700FPS on an RTX 3070 Ti laptop GPU. Once I get another Steam Deck (mine broke!) I'll be using that to test the game, aiming for at least 500FPS there, again to ensure it'll run on anything. I've also been trying to test it on my Raspberry Pi 4 but the game just crashes, probably because of Godot weirdness
@KittenFiddlers September 17, 2024 - 11:22 am
this SUCKS!
@zipsexe September 17, 2024 - 11:22 am
Give this man triple A budget
@GuttermanGaming21 September 17, 2024 - 11:22 am
is there no download
@YagamoReba September 17, 2024 - 11:22 am
the passion you put into your videos is palpable, it’s inspiring! ❤️
@mohsenessa1195 September 17, 2024 - 11:22 am
bro is litterally a wizard, tho i wonder why do u use opengl and not vulkan?
@Rundik September 17, 2024 - 11:22 am
The final result looks nothing like what was shown at the beginning. It's more like laser beams than the sun rays
@kilroymyboy September 17, 2024 - 11:22 am
Love your videos, but can you please title them better? When viewing your channel its hard to understand what you'll be chatting about and im unlikely to go through all your vids to find a specific topic again in the future
@Akkbar21 September 17, 2024 - 11:22 am
If the devs for Star citizen watched this video, their brains would explode.
@Beets_Creations September 17, 2024 - 11:22 am
This is extremely well broken down into understandable information. Great video!
@purplelord8531 September 17, 2024 - 11:22 am
beams of light do flicker as the trees sway, no? like in real life? from loose leaves and such?
@fyrestorme September 17, 2024 - 11:22 am
next, add diffusion to the sun beams. right now they look a little too much like sun lasers :)
@silverwerewolf975 September 17, 2024 - 11:22 am
Now invent a solution for the fucking TAA.
@Xizilqou September 17, 2024 - 11:22 am
Wouldn't another option be to do a shell texturing approach where you have planes always in front of the screen that are lit by the shadow map lighting you already have in a certain way that looks like volumetric "god rays?"
@kuyakim20 September 17, 2024 - 11:22 am
Please show this to Koei-Tecmo Games for Samurai Warriors Series.
@rasberiii September 17, 2024 - 11:22 am
i keep getting recommended your videos but your thumbnails are so fucking vague i never clicked on one out of spite, after seeing this thumbnail i clicked just to leave this comment saying i hate your thumbnaile style. im disliking and not watching the video more than the second it took for me to pause it
@mouad609 September 17, 2024 - 11:22 am
Hi, I really like your content, but there are many things I don't understand such as shaders and other. Are there any resources you'd like to recommned for someone wanting to learn computer graphics ?
@peterbonnema8913 September 17, 2024 - 11:22 am
Let me first buy a 12000 fps monitor now
@P-39_Airacobra September 17, 2024 - 11:22 am
I really appreciate content like this that tells us how to make our code both efficient and simple. I know what it's like to have a low-budget PC and still want to play games on it, and optimizations like this save the day for such gamers.
Even if unoptimized code is "enough", it's preventing you as a game dev from implementing lots of interesting features. I wish the software engineering community as a whole would stop pretending resources are unlimited.
@anon_y_mousse September 17, 2024 - 11:22 am
With all of these game engine enthusiasts around, if I ever do make a game it should be a breeze given the absolute glut of material to learn from.
@DracoTheNinja September 17, 2024 - 11:22 am
could you maybe make your game engine more easy to use and/or have its own programm dedicated for easy building? i think that your engine could change a lot in the gaming industry, this would fix overly unnecessary big game file size's
@Xaymar September 17, 2024 - 11:22 am
I know this is an older video now, but I'd like to share a method I used 15 years ago in Blitz3D (DirectX7). Calculate the intersection point between Sun and Camera ray, capture an Ortho view from that point towards the sun. Place up to 255 transparent planes along the sun ray, placing them at equal distance step, starting at the point that first intersects the frustum, and ending at the point that last intersects the frustum. This is effectively the 2nd method, but it should be significantly faster than the 2nd method. Downside is that you need to take care of gaps between planes by tilting them towards the player camera.
@pratikkore7947 September 17, 2024 - 11:22 am
😂"This might look alright for a trailer video" what? I'm my exp, trailer videos are half the game budget-wise😂
@prostagma6055 September 17, 2024 - 11:22 am
Why use open gl over say vulcan genuine question i am entirely self thought about computers so don't know
@soupnoodles September 17, 2024 - 11:22 am
The engine that requires not much processing, but a boatload of ram.
@hamzacasdasdasd September 17, 2024 - 11:22 am
this guy needs to make an optimazsion mod for minecraft java ASAP
@justiceadeboye3353 September 17, 2024 - 11:22 am
How can I get your engine for free
@ValidatingUsername September 17, 2024 - 11:22 am
It’s amazing that the scene calculations can accidentally be forced to figure out if an infinite set of objects exist in what needs to be rendered for each frame and then doing the calculations on what’s actually in the scene and ray tracing those objects
@kboltiz September 17, 2024 - 11:22 am
Okay, but there's a lot more someone would need from game engine.
@h3l_l September 17, 2024 - 11:22 am
i didn't understand anything but thats damn cool
@yunjay99 September 17, 2024 - 11:22 am
Hey it would be nice if the title referenced sun beams, instead of such a general title as it us now.
@bobbyb6412 September 17, 2024 - 11:22 am
will this engine be available to the public?
@jamiecropley September 17, 2024 - 11:22 am
I am trying to write an optimised game engine at the moment in C++, are you using C#? Wondering why over C++, additionally I was looking at it mainly from the perspective of mathematics but I feel like I have just gone down a deep endless rabbit hole here lol.
@KramGamesOfficial September 17, 2024 - 11:22 am
Dude if you can show how to do this inside unreal engine that which would be very doable, that would be amazing
@drfleetles3372 September 17, 2024 - 11:22 am
man graphics coding will always confuse me
@GTAIV327 September 17, 2024 - 11:22 am
May i know the program you use to make these presentations?
@honichi1 September 17, 2024 - 11:22 am
thank you, this is the type of optimisation we used to see in games back in the day when processing power was more limited

Comments are closed.

Add Comment