GLOBAL ILLUMINATION in Unity 2018.3! | Beginner’s Guide to Graphics

July 31, 2019 posted by

Achieving realistic graphics for your games is not very easy. I know and especially when you need to optimize everything So with this series I’m going to extend my beginner’s guide to unity show and create a new one at the same time I love have I called up shows by the way And this one is specifically going to be regarding game development techniques and in this video we’re going to talk about global illumination or GI and how you can use it in your games and Specifically take a look at GI in unity. And before we get started this video is sponsored by Betty Oh, I think actually this is perfect timing because we’re talking about realism So Bethea recently released a new project called the hunt which is a next-generation Real-time 3d project for unity. The hunt is a project that contains more than 300 high quality models However, this is not just a model pack. It’s an actual idea with this pack You’re getting access to the idea conceptual work 3d assets level design animations scene setup music with sound effects and so much more the project scales over 4 gigabytes in size and is absolutely Massive this project was crafted during several months of five artists hard work at bevy Oh, I’ve used many of Betty us acid packs before and I’ve even got some videos on them But what I like about the hunt even more is the fact that it feels and looks so much like a triple-a The visual quality of every model is absolutely incredible And I think it’s worth getting if you’re making a game similar to this visual fidelity If you want to learn how triple-a games can look and feel in unity or if you want access to such incredible Materials for your own projects all of the elements are high quality, but still optimized to work in real time environment So optimization and performance won’t be a pain in the neck which is huge for a project of this size I’m going to link the hunt in the description so you can check it out for yourself and like I said before Personally, I think this is a perfect demonstration of how something so big and realistic can be built in unity So I really enjoyed my time using this and I’m looking forward to use it in some level design videos, too By the way for a limited time only you can actually get access to this project with a 10 Discount if you go to the link in the description, so make sure to do so I want to thank Betio for sponsoring this video and all of our patreon for making this video come true Just wanna give a huge shout out to Flo Joey Richard stands cupola builder die mecha game comm couch ferret in James Duggan. Thanks to your support I’m able to make these videos come true So if you also want to check out our patreon for more videos definitely check out the link in the description and also leave a like on this video and Obviously we’re talking about the hunt which is a realistic project. So let’s also talk about GI or global illumination So this has become a standard for high fidelity visuals and realistic graphics in game development so let us start by taking a look at what it is right and how we can use it and then Also, see how you can enable it and use it to the highest fidelity Inside unity, but now what actually is global illumination It’s a general name for a group of methods and algorithms to add more realistic lighting into your 3d games the word Illumination basically means sliding or light for those of you who don’t have English is the main language aka. Kme Just keep that in mind for now because it’s going to become more important later in this video GI Basically allows our games to take all kinds of indirect lighting into account on Top of the direct lighting in more basic words, though. What does that mean? So see this scene that I’ve just created in unity right as a visual demonstration It’s a room made out of cubes as well as ground and ceiling and we basically have three spirit Spears three spheres one green one red and one blue I told you English was my main language And remember when I said direct lighting in my previous statement basically If we call the light direct that means it’s a light that comes from a light source Somewhere in the scene for instance in most game engines You’ve got directional lights point lights area and spotlights and so on right? These are all direct lights because these are all light sources However, if we’re talking about indirect lighting that means every kind of light that’s not directly pointed anywhere from the scenes So it’s the light that doesn’t come from a light source directly But everything else surrounding the scene ambient light is actually a great sample of indirect lighting and so GI or a global illumination Basically takes into account. Not only the light that comes directly from a light source but also subsequent cases in which light rays from the same light source are Reflected by other surfaces in the scene and we’re not just talking about reflective surfaces like glass and mirrors but anything in the scene Really? This is why I said the meaning of the word illumination will become more important because illumination once again means lighting and global illumination takes care of direct lighting and indirect lighting that reflect from Surfaces meaning it helps illuminating the scene more realistically So now jumping back to my scene that I created in unity The current setup we have is that the game only takes into account the directional light that I have in my scene Which allows you to direct a kind of sunlight in one direction? that makes it quite dark in my room as most of the light rays are actually blocked by the Half-wall I have on the right side. However, what’s really putting this demo off? The realism table is the fact that we are not seeing any bounces of light even though the light source is directly Pointing at the objects that are colored to just quickly understand its technical background before we get into the demo We can take a look at this picture right here the way our scene works right now is this the direction light strikes into the room through the gap that I’ve left on the wall to the right side and then the photon that travels from my light source Carries the value of the surface that it hits to the next surface that way the light bounces around the room and we get this Color bleeding effect which reflects a little bit of the color on two surfaces that are within range And now that we know what GI is and what it does. Let’s also take a look at it in unity So basically unity provides two distinct techniques for pre computing global illumination These are baked global illumination and pre computed real-time global illumination. And you heard it, correct? You can also enable real-time GI however there are currently limitations of GI so both baked and real-time GI in unity have the Limitation that only static objects basically objects that don’t move can be included in the baked or pre-computation That means moving objects cannot bounced light onto other objects But they can still pick up bounced light from static objects using light probes Which I’m gonna make a video about soon to be fully honest This doesn’t really offer a lot of problem style, especially in interior scenes as you don’t really have to continuously move Furnitures inside a house or like a venue, right? So for instance going back to my demo in unity I don’t really need to move around the walls or the spheres spheres this time which means real time having to be precomputed is not a threat to me to enable GI we can go into your window and – rendering and go into lighting settings and in here we can see that we have real-time global illumination and baked global illumination so which one do you activate having both of these enabled will allow you to use GI for real-time baked and mixed light sources Disabling real-time GI will limit the GI to baked and mixed light sources only whereas enabling just real-time GI will limit that to only Real-time light sources and if you want to double-check what your light sources are set to you can simply press on them in the inspector And even change if they should be baked mixed or real-time I usually enable both real-time and baked GI options as it really suits my needs now that I got them enabled I’m going to highlight all of the environment assets in my scene and simply check static in the inspector This will now allow our light source to bounce these Objects colors depending on how we position it And now when we rotate our light source you can see that the room gets affected by the color of our Objects as the light makes their colors bounce off of them to the surrounding objects And by the way GI also works in runtime meaning if you have a time of day system in your game Right where with the Sun moving around you will see the colors change while playing the game – you can also edit the indirect intensity of your light source to play with the values of how much the light should bounce around and by using GI you can achieve Some astonishing realistic colors and lighting your scenes Let me know in the comments, by the way If you have been using it or if you’ve got any tips you wish to share with the others if you have any questions or In case you want to request any other tutorial and in-depth coverage of a game dev methods such as lighting shadows light probes Reflections and so on. So yeah, that is pretty much it for this video I hope you all enjoyed watching this short kind of tutorial aka in-depth coverage of GI I almost forgot the subject of this video And if you want to see more make sure to give this video a thumbs up to show some support and hit subscribe to stay Up to tuned for new videos and make sure you don’t miss out on new content Also, we do have a discord server with an amazing community of game developers So make sure to check it out by going to the link in the description that says Discord and if you want to support me further to see more videos in the future as well Make sure to check out our patreon page So yeah with that being said I’m going to be super active in the comments section of this video and in our discourse server So I hope to see you guys there. Thanks for watching and have a good night. Peace out


79 Replies to “GLOBAL ILLUMINATION in Unity 2018.3! | Beginner’s Guide to Graphics”

  1. Sykoo says:

    Do you guys want to see more videos of short game dev techniques for better graphics? I really enjoy graphics as a topic, so I'd love to make more. =)

    Make sure to join our Discord for Game Development techniques, discussions, and more!
    Also check out my Patreon for more content:

  2. Student Gary Smith says:


  3. Sykoo says:

    I just realized how similar the intro sounds to "Coding your own games isn't easy" LOL

  4. David Jeremiah Malazarte says:

    I thought this could only be applicable to those who use graphics card 2080 😂

  5. The Drhax14 says:

    It would be cool if you provide light baking settings comparison, e.g. different amount of samples or different amount of texels

  6. King Gore says:

    High time to say goodbye to Unreal.

  7. Norb says:

    Enough with the teasing, Unity! 2019 is almost upon us!

    Where the goodies at?

  8. Tufan Stilinski says:

    Beffio is the best!

  9. Tufan Stilinski says:

    What is your main Language? 😁

  10. beffio says:

    Sykoo – thank you for great collaboration :)!

  11. jakemartinoldyoutube says:

    Please make more realistic graphics video

  12. Alperen ÖZGÜR says:

    siiğfiiir döner asdafadhgah

  13. Dwayne Taylor 12 says:

    Cool that just very helpful

  14. Zalk Tech says:

    For somebody that doesn't speak native English, you really sound native to me.

  15. Jhay Jay says:

    Make a MOBA First Person Game Dude you are so Talented

  16. StigDesign1 says:

    3:46 LOL That`s scandinavien with english 😀 same with me too 😀 i love your miss spelling/mistake`s 😀 btw maby next do a tutorial on how to make matterial looks nice like that house interrior like getting mettal to look metallic and plastic to look plastic etc 🙂

  17. Cinabutts says:

    I wanna learn how to properly use reflection probes 👍

  18. Vinicius H. says:

    Sometimes using the method that is not enlighten (i dont recall the name) i get some bugged uv light textures, like swapped shadows on the sides of an object.

  19. Lachee Plebian says:

    All cool with the product placement and the sponsorship, but 2:30? It takes up a quarter of the actual video.

  20. ashish dandge says:

    Love you bro… We would like more such graphic related tutorials

  21. etopsirhc says:

    light probes. idk why they are so much of a mystery to me, but i just dont understand them or how they work.

  22. Ayrton Olvera says:

    Baked GI is great for stunning graphics and low performance devices, only use realtime GI in pc and high performance consoles 😛

  23. Jolgeable says:

    Wow! Really cool!

  24. Anshuman Kaushik says:

    I think you should do live streaming of a game in a week or two because that really helps how logics works in game development

  25. CouchFerret makes Games says:

    Thanks Sykoo! What about Reflection Probes ? Could you have a video on that? 🙂

  26. Da ComicBookNerd says:

    Hey can you go over hdrp scripting? I want to make a day and night cycle with hdrp volume procedural sky but I can't access the components through script I tried everything I could think of.

  27. Daniel Rousseau says:

    This is a subject that is heavily lacking in tutorials. Thank you for doing this

  28. DFYX says:

    Very tiny correction from a physics perspective: a single photon will never change or „inherit“ the color of a surface. Instead, white light contains photons of all colors and colored surfaces will filter out some of those photons while reflecting others. That‘s why shining a purely red light on a purely blue surface will not yield blue or purple light but no reflected light at all.

    As an exception there‘s fluorescence where photons are absorbed and lower energy (longer wavelength) photons are emitted but that usually isn‘t too important for gamedev.

  29. Karan Mirajkar says:

    It's great, if you make a video on texturing and shading in unity in which a proper guide to import texture and UV correctly from any 3D softwares. Thanks

  30. Xgamesvideos Officiele kanaal says:

    Ow my!
    Now I am really in the mood to make a Next Gen Minecraft Clone…..

  31. Ricardo Coelho says:

    This is not quite a tutorial. More like an overview or something as simplified as an overview

  32. Push The Button says:

    We need more in depth how to use LOD in scen like this with lightmaps! Not much about it at all.

  33. shape shifter says:

    Illuminati confirmed

  34. InterZept says:

    reflection probes please

  35. Somebody Somewhere says:

    Does this work if you want to have a door, but obviously it isn't going to be static if it's opening and closing. Will the door stand out in the scene as something that's not lit up enough, or will it be ok?

  36. Firstname Lastname says:

    Make Unity 2018.3 guide please!

    And would be great to make Unity 2018 guide for someone coming from older versions when we didn't have so many updates so often

  37. Rekt Games says:

    "Achieving realistic games for your game is not very easy"… <insert online course here> haha. Jokes aside, great guide!

  38. Karloo says:

    Is it safe enough to make fully baked GI AAA game right now? Me and my team are working on it, but we're not close to the end, but when we do get there, would you suggest it?

  39. bhaveshTiwari says:

    so unity team using photon for light source xd

  40. Randy Riverol Arevalo says:

    you missed the opportunity to talk about the new baked GPU

  41. SMIVL says:

    Hey Skyoo!
    I just game to ask how you get all your assets for all engines? I’m guessing you don’t model and animate them yourself? So do you buy them somewhere and if you do could you tell me where?

  42. SAM VORTEX says:

    Make tutorial on light probe and reflection box

  43. Adrián Popof says:

    Great video, thanks for share 🙂
    What happens when using baked ilumination with static objets, but your light source is moving or changing color? Does it works or baked ilumination only works for complete static scene (objects and lights)?

  44. Daniyal Ali says:

    Please make a video on Nested Prefebs, Thanks.

  45. ROBLOX stick news says:


  46. Joe Jupiter says:

    5:47 Photons don't just inherit the color of the surface they hit.
    That's not how physics work. That's not how any of this works.
    Many photons with different wavelengths (their hue) hit the object and only those with the right hue are reflected and the others are absorbed and converted to heat energy.
    Of course, in game engines, you would be right, but there we work with rays and not with single photons.

  47. depi zixuri says:

    Graphic quality got good enough 10 years ago with Crysis.
    Newer game don't benefit much from better graphic quality. Better level design, game mechanics, destructable environments, etc are far better to make a game enjoyable. And that's is not where developers are focusing.

  48. Marcus Watson says:

    You know what? You shuold take this online course on unity in udemy……

  49. TheJavyop says:

    Hi Sykoo
    I was watching your "Best engine in 2018"video and got me wondering…
    Do you know anything about NintendoWare Bezel engine?
    Maybe some thoughts, speculation or opinions for a video would be awesome.

  50. Julio Cesar jcfalcone says:

    Hey man, it would be great if you could talk more about light. Sometimes I've to do try and error before get what I want.

  51. Nearyou says:

    Really good video, I can't get why people get angry over partners on the beginning.. seriously.. everyone wants something for free and when they are given they are grumbling.. dear god. Keep up the good work! 🙂

  52. S L U M B E R says:

    Really a fucking 2 min ad gtf bro

  53. Seby says:

    I am using UE4 for years now, and this realtime GI look way better than LPV and DFGI…

  54. Felipe Nascimento says:

    Please make videos about light and reflection probes. There's too low information on internet about them. My biggest issue is where put them to be efficient.

  55. Mukul Kataria says:

    Shouldn't use real-time + bake GI at same time for optimising reason. Till I start using Real-time GI only frame in my Android game goes up.

  56. Antony999k says:

    The light is very interesting

  57. I'm very want The power says:

    please tell me how I can make great game
    I 'm in programing 30% % & 3d design 40% & Unity 100% and photoshop 20% .

    tell me easy road

  58. RiorXD says:

    3:10 to skip to the content

  59. Gildar76 says:

    Would Love to see more on lighting

  60. David Westernall says:

    Found this video about GI, thought this looks interesting, then got 3 fucking minutes of an advert. Guess you think you have grown your channel enough because this isn't going to make many people stick around. Good luck.

  61. Scotland Dobson says:

    So, so much better than the convoluted mess of different lighting techniques in Unreal. Definitely will be using either Unity or Godot in the future, just because of the real time GI features.

  62. Vincent Fürst says:

    Video on Light Probes please 😀 really…. there is like no video at all how to use them on YouTube….

  63. Joaquin Niño Ortega says:

    @8:33 the quality on the GI tho on those corners looks like the light leaks.

  64. Sam Ting says:

    Is the architectural demo 6:20 to 7:00 available for download?

  65. Jeremy Hollett says:

    Great video Sykoo. You should do more videos on lighting and reflection probes!

    Edit: Subbed btw,

  66. Dustin Kline says:

    this was really helpful! thanks for this!

  67. Nine Tailed Fox says:

    At the beginning i thought you were walking in real life this lightning can trick someone

  68. Wanna Know says:

    Hey sykoo do you work as a programmer or designer?

  69. clash with me says:

    I need video on making animation as scenes between missions
    Plz…. its my request

  70. Boshko Savich TM says:

    I think this discord link is expired 🙁

  71. Nathanael Chadwick says:

    Disliked because too much rambling bullshit until 3:00.

  72. Angery Bear says:

    I really thought that was live footage

  73. FIlIPP says:

    Сколько можно? Смотришь себе английские ролики с сгенерированными субтитрами и раз попадется ролик где они запрещены, кто так делает просто усложняют жизнь программистов не знающих английский, может у него или у них хобби и им не хочется учить английский и это может перерасти во что нибудь серьёзное!

  74. game hancer Unbelievable says:

    hi please help me

  75. Seyyed Mahdi Musavi says:

    I get really low res shadows on GI mode, how can i fix it ??
    I could not find anything in the internet

  76. Jacob Hallberg says:

    Great video Sam! Really helped with the lighting in my project!

  77. GAME DUDE says:

    How Can i use this for an android/ virtual reality project?

  78. ANURAG says:

    half video goes with the hunt

Leave a Comment

Your email address will not be published. Required fields are marked *