1
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
44 comments
"It looks the same"
…
witchcraft
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.
i wonder if all these optimization can be apply to the source engine of Unreal Engine
Great video but how can I download this amazing game engine
how to download the eninge
no, i haven't.
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
this SUCKS!
Give this man triple A budget
is there no download
the passion you put into your videos is palpable, it’s inspiring! ❤️
bro is litterally a wizard, tho i wonder why do u use opengl and not vulkan?
The final result looks nothing like what was shown at the beginning. It's more like laser beams than the sun rays
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
If the devs for Star citizen watched this video, their brains would explode.
This is extremely well broken down into understandable information. Great video!
beams of light do flicker as the trees sway, no? like in real life? from loose leaves and such?
next, add diffusion to the sun beams. right now they look a little too much like sun lasers 🙂
Now invent a solution for the fucking TAA.
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?"
Please show this to Koei-Tecmo Games for Samurai Warriors Series.
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
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 ?
Let me first buy a 12000 fps monitor now
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.
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.
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
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.
😂"This might look alright for a trailer video" what? I'm my exp, trailer videos are half the game budget-wise😂
Why use open gl over say vulcan genuine question i am entirely self thought about computers so don't know
The engine that requires not much processing, but a boatload of ram.
this guy needs to make an optimazsion mod for minecraft java ASAP
How can I get your engine for free
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
Okay, but there's a lot more someone would need from game engine.
i didn't understand anything but thats damn cool
Hey it would be nice if the title referenced sun beams, instead of such a general title as it us now.
will this engine be available to the public?
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.
Dude if you can show how to do this inside unreal engine that which would be very doable, that would be amazing
man graphics coding will always confuse me
May i know the program you use to make these presentations?
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.