LIGHTS! // Hazel Engine Dev Log

  Рет қаралды 31,556

The Cherno

The Cherno

Күн бұрын

Patreon ► / thecherno
Instagram ► / thecherno
Live Stream ► / thecherno
Twitter ► / thecherno
Discord ► thecherno.com/discord
Karim needs a job! Email him: karimsayed1@hotmail.com
#Hazel

Пікірлер: 128
@TheCherno
@TheCherno 3 жыл бұрын
Hope you all enjoyed the video! I'll be live streaming Ratchet & Clank: Rift Apart when it comes out tomorrow on twitch.tv/thecherno, come say hi! Here's the schedule in your time zone: twitch.tv/thecherno/schedule
@oamioxmocliox8082
@oamioxmocliox8082 3 жыл бұрын
;)
@lucutes2936
@lucutes2936 3 жыл бұрын
UNITY RIP OFF DISLIKE
@rinkumultani2686
@rinkumultani2686 3 жыл бұрын
hello cherno were you impressed with new halo reveal at e3 and rest of the show? waiting for breakdown of the show :)
@007LvB
@007LvB 3 жыл бұрын
One benefit from deferred rendering is the g-buffer which contains per-fragment normal and position. This data can be very useful for path tracing, e.g. when clicking with the mouse or something similar. How can you achieve this functionality with forward+ ? (is that straight-forward?)
@immalemonnyyy7967
@immalemonnyyy7967 3 жыл бұрын
The Cherno is basically building his dream project. It must be so challenging but yet very exciting in every step he moves forward. Man, I have so much respect towards him for that, it's not something everyone can do so easily. Good luck with that Cherno!
@martinlarsson6621
@martinlarsson6621 3 жыл бұрын
"So, Im not going to explain Forward + rendering in this video" ..... "it's basically -> explanation"
@abjoern
@abjoern 3 жыл бұрын
He's never said "I'm not going to explain it" without lying
@EDToasty
@EDToasty 3 жыл бұрын
Deferred explanation.
@a.aspden
@a.aspden 3 жыл бұрын
I wish he would not explain more stuff because I'm learning a lot from it :)
@krystiano.610
@krystiano.610 3 жыл бұрын
That brings back memories from my university. We had that class where for entire semester we implemented our own rendering engine - starting from simple triangle to fully working model explorer (with lights, postprocessing, transform modification, materials, selection etc.). Everything in OpenGL and C++, I also decided to go deferred rendering path - directional, point and spot lights as well as some effects utilizing data from MRT. Sadly didn't have time to properly implement shadows, but easily passed class with best grade. Back then I didn't ever think that I will end up as graphic programmer (was aiming at C++ programmer or Unity game developer), but here I am as Technical Artist, messing around with Unity's URP code and shaders for our internal company projects
@hashemieada4846
@hashemieada4846 3 жыл бұрын
May I ask you which major you was studying?
@krystiano.610
@krystiano.610 3 жыл бұрын
@@hashemieada4846 Graphics and Multimedia in Computer Science. However we choose it at late stage (on 4th semester if I remember correctly), before that we had common stuff like databases, graphic programming, backend, neural networks etc. Later, most of our classes in Graphics and Multimedia were focused on creating game on existing engine and finally prototype of game in engine implemented by ourselves. We worked in team of 5, I was taking care of scene management, 3D rendering, UI, animation support and asset import in our engine. Thinking now I would choose Game Development instead of Graphics and Multimedia - there were a lot of joined classes and I didn't really like 3D modeling/texturing stuff.
@hashemieada4846
@hashemieada4846 3 жыл бұрын
@@krystiano.610 thanks alot for the information , am a computer engineering student and I feel that I made a terrible decision by enrolling in CE. I really wish to have these classes in my curriculum. Would you recommend for me to stay at CE ? Or switch major?
@krystiano.610
@krystiano.610 3 жыл бұрын
@@hashemieada4846 Can't really recommend you to switch or stay - I think that it depends on the university (at least in my country, every uni has different program). But if you are unhappy you should check out what classes are in CS at your university, ask some people which attended these classes and make decision by yourself. Also from my experience, contacts are more important than classes (ofc they help, but they aren't everything). Usually you learn more at work/internship than at uni
@krystiano.610
@krystiano.610 3 жыл бұрын
Also you can try doing some personal projects, which you can attach when applying for a job - there are a lot of sites/yt videos with tutorials
@ToniPlays_
@ToniPlays_ 3 жыл бұрын
Hazel is LIT 🔥
@Adrian-jv2oo
@Adrian-jv2oo 3 жыл бұрын
Literally
@Budder99
@Budder99 3 жыл бұрын
Hope you're well! Loving the series, I've learnt a lot as someone who isn't code savy
@alexanderbr8525
@alexanderbr8525 3 жыл бұрын
just a quick idea: use a slider to adjust the number of lights hitting a pixel for your visualization to get red. With a slider, a game dev could optimise for various performance targets
@ryanneal3042
@ryanneal3042 3 жыл бұрын
slider is a good idea. Perhaps some default values for mobile/last-gen/next-gen to give users an idea of where the slider should be positioned to start for their intended audience.
@lgeochipl
@lgeochipl 3 жыл бұрын
Wow, this is so cool that you let Karim join Hazel team for his internship! He did a really good job.
@clintonchukwunyere2344
@clintonchukwunyere2344 3 жыл бұрын
Hi Cherno! Been anticipating the second episode of your podcast. Really enjoyed the first one. Thanks!
@harzall
@harzall 3 жыл бұрын
I'm not a game engine developer nor a computer science student, but I'm always following game engine dev on monday which not in monday... ✌✌✌
@dansilvers8052
@dansilvers8052 3 жыл бұрын
This is an absolutely brilliant optimization and debugging tool. I can't tell you the number of times I've worked on a complex lit scene in Unity and thought "ok how many lights are overlapping right here because the framerate chugs when I look at this one candle." Forgive the pun but... game changer.
@siddhantkumarclasher
@siddhantkumarclasher 3 жыл бұрын
Hey cherno you are awesome because whenever I see your videos it reminds me that what I am doing doesn't matters if I don't enjoy doing it. You have my gratitude and respect.
@enigma_dev
@enigma_dev 3 жыл бұрын
Wow, great job Karim!
@scorch0012
@scorch0012 3 жыл бұрын
Hey Cherno, this channel is amazing and is seriously appreciated!
@geraltt1455
@geraltt1455 3 жыл бұрын
Cherno is like prometheus who shares with us his knowledge of creating game engines)
@boo3427
@boo3427 3 жыл бұрын
Very interesting rendering work, love seeing the progress updates on hazel.
@stillalive7456
@stillalive7456 3 жыл бұрын
that looks great! Nice job
@zeropointzer0
@zeropointzer0 3 жыл бұрын
0:04 - I like how he looks at his virtual watch 😁
@RobertBryant85
@RobertBryant85 2 жыл бұрын
the light complexity of a scene, is a nice tool feature. Nice, keep up the good work. 👍
@blumenkohltv1565
@blumenkohltv1565 3 жыл бұрын
Every time you show the sponza scene I ask myself: why doesn't he have a sponsor scene? 😄I mean just imagine showing the light on a 3d version of a sponsor logo. Real cool way to advertise imo.
@uegamedev272
@uegamedev272 3 жыл бұрын
Finally I can add more lights without headache. Never heard of such a good explanation.
@eruryuzaki6505
@eruryuzaki6505 3 жыл бұрын
That is sooo cool! I love it :)
@GameDevBeat
@GameDevBeat 3 жыл бұрын
Nice to see the engine 👌 is growing by the community.. as game developer can't wait to put my hands on the beta version
@Dustyy01
@Dustyy01 3 жыл бұрын
"Devlog Monday"
@robbeandredstone7344
@robbeandredstone7344 3 жыл бұрын
Like nur wegen dem Namen...
@nexovec
@nexovec 3 жыл бұрын
That's LIT!
@eboatwright_
@eboatwright_ 3 жыл бұрын
This is so cool! :D
@neo-mashiro
@neo-mashiro 3 жыл бұрын
I hope I could also work for your amazing project one day when I got skilled enough. I believe Hazel will become very very awesome one day!
@Mireneye
@Mireneye 3 жыл бұрын
Going to be really interesting to see how Forward+ plays with Translucent objects. That's something Deffered rendering tends to have issues with.
@donovan6320
@donovan6320 2 жыл бұрын
It plays pretty much the same actually as regular forward rendering. In fact, that's one of the major advantages. It's pretty much as unified as forward rendering.
@aybaksamiz6376
@aybaksamiz6376 3 жыл бұрын
I new to c++ and rendering engines, But using this way of lighting doesn't it mean if you have multiple cameras you will have performance issues, because you need to calculate the lighting for every pixels in every camera, and some of these pixel might hit almost the same point but will calculate multiple times for each camera
@cgmaxman
@cgmaxman 3 жыл бұрын
It's amazing :) love that Forward+ renderer... nice work... i want to make a game using Hazel ;D
@SnowWolf866
@SnowWolf866 3 жыл бұрын
Hi Cherno! I do really like your videos. I'm curious what is your goal with your engine?
@gebriish
@gebriish 3 жыл бұрын
Woah , thats really cool
@bennyquick9469
@bennyquick9469 3 жыл бұрын
I love devlog Mon... Thursday.
@lukewellcash
@lukewellcash 3 жыл бұрын
Do you do a low resolution rendering of the scene to determine what lights affect what pixels? Or do you do something more like: transform point, expand point to be a rect?
@elliotfriesen6820
@elliotfriesen6820 3 жыл бұрын
Those lights look really good
@enshk79
@enshk79 3 жыл бұрын
That is the funniest thumbnail, knowing how you really are in your videos. Hahahahaha Can’t stop chuckt
@fahdasq507
@fahdasq507 3 жыл бұрын
i'd love to see an episode on global illumination whenever you get around to it, i've been a huge fan of your videos and graphics in general and yet i still have no idea how gi works lol keep up the good work
@specialisthun
@specialisthun 3 жыл бұрын
Nice demo, forward+ is great! I think in the sponza scene the light culling is slightly incorrect in the rightmost tiles ( 10:51 ). Maybe the depth buffer width is not divisible with 16, so frustums try load outside of it and become too large (just a guess).
@MrKomalarn
@MrKomalarn 3 жыл бұрын
Really nice work, looking forward for spot light! ... Btw are you planning shadows for point / spot lights?
@DerThomyLP
@DerThomyLP 3 жыл бұрын
Volumed tiled forward shading (Jeremiah van Oosten) would be interesting for optimization on forward+ rendering
@akchu
@akchu 3 жыл бұрын
That Thumbnail Render in Hazel is 🔥
@yahiashams2334
@yahiashams2334 3 жыл бұрын
Cherno I've been watching you for time now, love everything your doing. My question is, when you sleep do you dream of C++ code?
@nahuelfernandez2352
@nahuelfernandez2352 3 жыл бұрын
I laughed very hard with the thumbnail
@shadmansudipto7287
@shadmansudipto7287 3 жыл бұрын
It's my expression when I think about lighting for games.
@pequod4557
@pequod4557 3 жыл бұрын
Fonni
@prototy
@prototy 3 жыл бұрын
Hey Cherno! Love your videos! Was wondering if it would be possible to set up a visual example of what's going on under the hood :) I'm a 3D artist if you would need help at all but I just don't understand exactly what lights are doing in either deferred or forward/forward plus and am extremely interested!
@MZmakesgames
@MZmakesgames 3 жыл бұрын
You gotta play ratchet and clank rift apart bro. It's true next-gen.
@wendellgreenidge3362
@wendellgreenidge3362 3 жыл бұрын
He did, he streamed it
@DrCrazyEvil
@DrCrazyEvil 3 жыл бұрын
How's the weapons in that game compared to ratchet 3 for example? Didn't like the reboot too much, so hoping rift apart is more fun
@IgnoreSolutions
@IgnoreSolutions 3 жыл бұрын
Regardless of the made up scale, that light complexity tool looks really useful. Sure it's easy to visually see the light spaces, but this ensures there's no question where specific lights are hitting, how they're being rendered, etc. Bravo! Brb, ditching Unity for Hazel
@n8dev
@n8dev 3 жыл бұрын
yesssssssss
@bhaveshtiwari5783
@bhaveshtiwari5783 3 жыл бұрын
You are awesome
@namorcaz
@namorcaz 3 жыл бұрын
2 questions! What language is your engine written in? How do you do your gui for the runtime? Thank you!
@Waffle4569
@Waffle4569 3 жыл бұрын
The legacy of Frostbite lives on
@Waffle4569
@Waffle4569 Жыл бұрын
@NelyL I believe they used to be, but they were one of the first to switch to tiled forward if I recall correctly
@neo-mashiro
@neo-mashiro 3 жыл бұрын
I never realized that The Cherno is the prototype of the starcraft loading screen until I saw this thumbnail!
@johnrasc6544
@johnrasc6544 3 жыл бұрын
Nice!!!
@theswipt
@theswipt 2 жыл бұрын
What are you background music playlist , I love it so much !
@abhiudayashrivastava1145
@abhiudayashrivastava1145 3 жыл бұрын
Hey Cherno, when will you continue with the game engine series?
@BarakaGameDev
@BarakaGameDev 3 жыл бұрын
looking like a Serial killer in the Thumbnail :-)
@mateuszabramek7015
@mateuszabramek7015 3 жыл бұрын
Great thumbnail 😊 so scary 👻
@duftcola
@duftcola 3 жыл бұрын
I have seen you use blender. What do you thing about armory3d..the game engine the comunity us developing endbeded in blender?
@Byynx
@Byynx 10 ай бұрын
AZIZ LIGHTS !!!
@quintongordon6024
@quintongordon6024 3 жыл бұрын
happy thursday
@somesugar
@somesugar 3 жыл бұрын
3 minute passed and im here
@coinconclusive
@coinconclusive 3 жыл бұрын
yay
@_Nerdiful_
@_Nerdiful_ 3 жыл бұрын
Welcome back to devlog Monda... Tuesdaaa... Thursday :|
@JMRC
@JMRC 3 жыл бұрын
Why does the complexity layer appear on and disappear off the cube by only moving the camera?
@tndev6060
@tndev6060 3 жыл бұрын
Hi i downloaded the hazel project from github can someone tell me how should i run the engine
@ludologian
@ludologian 3 жыл бұрын
Cool ! I would like to know more about rendering pipelines , I know it depends on the developer who implement it but I would love to know more, next episode should be global illuminattion futures like color bleeding. If anyone know Kariem account I would like to know more about rendering and lighting paths. from what I understand forward is the true 3D rendering takes account of 3D data like you mentioned normal map facing and the deferred rendering ( the G buffer) Is the space screen buffer. and some scriptable rendering pipelines makes it possible to mix between the low level techniques depending on the developer needs ( i.e some anti aliasing solutions) the forward+ which calculate the GI through volume thought ray marching. ( essentially voxel rendering) so from my understanding point of view there's : -rasterized rendering -true ray tracing and path tracing ( using forward projection for the geometry vertex & primitives for rendering equation and take into the account of light energy calculations too for the GI ) ↑note PBR rendering is approximate calculation biased estimation voxelized rendering ( ray matching technique) the forward+ means the GI is ray marched hence clustered. Hybrid approach (scriptable rendering pipelines) like what we see with most modern game engines ( i.e unreal Nanite use micropolygon mapping on screen space buffer for small close objects and far object use similar concepts of normal mapping ( as Digital foundry explained) , and lumien for the GI probably use either radiosty or screen space photon mapping. Or perhaps mix between them that's why semi transparent like opaque surfaces don't have unlimited bounces ( since the g buffer doesn't calculate true 3D , thus something like cone tracing could be an ideal solution) some lighting terminology I've gathered in my research for this topic: Omni type lights ( similar to point light but takes account lighting energy calculation ) Like area lights and line lights ,i.e flux power mostly used in offline renderers and for progressive textures baking systems radiance: the lighting energy coming from one direction , Irradiance: ( lights from all directions) BxDF functions for view equations and distribution energy. bi-directional means from two points ( i.e from the light source as well as the view angle of the camera)
@ludologian
@ludologian 3 жыл бұрын
Also voxels rendering have superior textures quality similar to geometry micropolygon in topology because it use cloud points like in Dream PS4 game you can zoom and still get nice details as mentioned in digital foundry too .
@Jkauppa
@Jkauppa 3 жыл бұрын
particle effect fireworks
@nasso_
@nasso_ 3 жыл бұрын
each tile is rendered in a separate draw call??? how does it work?
@philmsproduction
@philmsproduction 3 жыл бұрын
I wonder if it may be problematic if sometimes adjacent pixels handle different lists of lights. Because GPU processing units have this weird thing where there are many processing units grouped together in a way where they can only execute the same code simultaneously (on different pixels / vertices but still the same code). So for example say one pixel A needs to only handle one light but an adjacent pixel B needs two lights. Then the processing units handling pixel A may still have to wait and cannot do anything useful while the gpu cores handling pixel B are processing the second light. But I don't know maybe there is a solution to this, I have never heard of forward plus rendering. I am just curious how this issue is handled here.
@Wheagg
@Wheagg 3 жыл бұрын
light shadows when
@julkiewicz
@julkiewicz 3 жыл бұрын
#define Monday Thursday
@AntiWanted
@AntiWanted 3 жыл бұрын
Nice
@ethanminja4706
@ethanminja4706 3 жыл бұрын
LOVIN HAZEL!!! But I have a question... What happened to Sparky?
@eloimartinez9446
@eloimartinez9446 2 жыл бұрын
Question: why the “no light zones” still show something, shouldn’t be black when there are no lights?
@ctx4241
@ctx4241 3 жыл бұрын
Why is Scene Hierarchy dancing so much @10:35? Is it displaying just what player sees through camera?
@ThatJay283
@ThatJay283 Ай бұрын
i got deferred rendering working in my game, but fixing the issues is a real pain. and my deferred render actually runs slower, despite having alot of geometry. however, i don't have many light sources so that's probably why lol. so basically: forward renderer: 1700 FPS -> 2200 FPS deferred renderer: 1100 FPS -> 1400 FPS (and also transparency nolonger works) so ya im nolonger using deferred rendering
@smkplayer4949
@smkplayer4949 3 жыл бұрын
what programming language are you using??
@user-dh8oi2mk4f
@user-dh8oi2mk4f 3 жыл бұрын
C++
@hashemieada4846
@hashemieada4846 3 жыл бұрын
Guys , am a computer engineering student in my 1st year, is it possible to to work in game industry in the future?or at least becoming a graphic programmer?
@nathanwhite704
@nathanwhite704 3 жыл бұрын
There might be some transferable skills but for the most part If you want to be in the game industry as a graphics programmer then computer engineering is the wrong degree. Its more about making computer hardware then it is software.
@MartinHardi
@MartinHardi 3 жыл бұрын
Sorry for my dumb question, but why is there no sound travel time in games? Don't know where else to aks. Google isn't helpfull.
@infinityc5924
@infinityc5924 3 жыл бұрын
It seems cool, is it made on opengl?
@robbeandredstone7344
@robbeandredstone7344 3 жыл бұрын
it has an OpenGL renderer, yes. But also a Vulkan renderer. And one day they'll probably also add DirectX, Metall and so on
@Brahvim
@Brahvim 2 жыл бұрын
(I wonder what that background track is..)
@yamunasuryawanshi3563
@yamunasuryawanshi3563 3 жыл бұрын
Love from India ❤️🙏👍
@joeysipos
@joeysipos 3 жыл бұрын
Damn looks legit! I don't think Unity can have hundreds and thousands of point lights? What is the catch?
@NymezWoW
@NymezWoW 3 жыл бұрын
Unity sucks?
@CanonMay
@CanonMay 3 жыл бұрын
what coding language does hazel use?
@maxi-g
@maxi-g 3 жыл бұрын
and what about the shadows ?
@maxximus8904
@maxximus8904 3 жыл бұрын
Shadow maps? Physically-based inverse square falloff? option for Blackbody temperature instead of RGB?
@DominikMorse
@DominikMorse 3 жыл бұрын
We should create a Hazel USD scene. Who is in?
@simply-dash
@simply-dash 2 жыл бұрын
Who is car-rim? Hmm
@MetalGearMk3
@MetalGearMk3 3 жыл бұрын
when GI?
@JoneKone
@JoneKone 3 жыл бұрын
Just ray trace everything =D a presto ..
@thebigVLOG
@thebigVLOG 3 жыл бұрын
Next stop, ray tracing xD
@smugtomato5972
@smugtomato5972 2 жыл бұрын
So you're telling me you can get lots of lights AND proper anti-aliasing?
@pequod4557
@pequod4557 3 жыл бұрын
Plot twist he recored it on Monday
@oamioxmocliox8082
@oamioxmocliox8082 3 жыл бұрын
;)
@lucutes2936
@lucutes2936 3 жыл бұрын
Isnt this unity
@user-dh8oi2mk4f
@user-dh8oi2mk4f 3 жыл бұрын
No. It’s his own game engine.
@S41L0R
@S41L0R 3 жыл бұрын
Hey! I'm the 9th comment!
@S41L0R
@S41L0R 3 жыл бұрын
Oh, I actually was. (And this is the 10th).
@saimankhatiwada2827
@saimankhatiwada2827 3 жыл бұрын
First plz reply
@obi-wankenobi7324
@obi-wankenobi7324 3 жыл бұрын
reply from obi wan
@tanned_cosines_
@tanned_cosines_ 3 жыл бұрын
why ???????? no point i mean from his point, he won't see a point in replying to some comment which doesn't has weight to it, would he? also, no point in telling you are the first
@ThePreyBrigade
@ThePreyBrigade 3 жыл бұрын
@@tanned_cosines_ Relax dude. It's all in good fun
Performance Bottlenecks in My Game Engine
22:45
The Cherno
Рет қаралды 41 М.
ALL OF THE UI! // Hazel Dev Log
20:22
The Cherno
Рет қаралды 36 М.
когда достали одноклассники!
00:49
БРУНО
Рет қаралды 3,8 МЛН
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 18 МЛН
Cute Barbie Gadget 🥰 #gadgets
01:00
FLIP FLOP Hacks
Рет қаралды 33 МЛН
SHADOWS! // Hazel Engine Dev Log
26:09
The Cherno
Рет қаралды 64 М.
Deferred Lights - Pixel Renderer Devlog #1
8:41
aarthificial
Рет қаралды 379 М.
Rendering a car with my own ray-tracer
13:53
AngeTheGreat
Рет қаралды 282 М.
Hazel - My Game Engine // Code Review
40:59
The Cherno
Рет қаралды 110 М.
How I Made My Game Engine MUCH Faster...
24:29
The Cherno
Рет қаралды 100 М.
The world's worst video card?
32:47
Ben Eater
Рет қаралды 6 МЛН
All OpenGL Effects!
30:21
Low Level Game Dev
Рет қаралды 55 М.
Why you should never use deferred shading
30:14
bazhenovc
Рет қаралды 10 М.
INSTANCED RENDERING in my Game Engine
24:57
The Cherno
Рет қаралды 72 М.
How I Implemented Shadows in my Game Engine
7:45
ThinMatrix
Рет қаралды 93 М.
когда достали одноклассники!
00:49
БРУНО
Рет қаралды 3,8 МЛН