How to get Volumetric Lighting in Unity 5 - Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 319

  • @watchlater8755
    @watchlater8755 8 ปีที่แล้ว +177

    the fact they understand that people starting off with making games won't have a lot of money.. thank-you for making it free or pay what you want! :)

    • @neatpolygons8500
      @neatpolygons8500 7 ปีที่แล้ว +2

      i was about to comment about that, indeed that was pretty nice of them! I really hope they'll be able to fund the website

  • @davidd9976
    @davidd9976 7 ปีที่แล้ว +256

    Udemy Ad Guy: "Coding your own games is easier than you think!..."
    Me: "Yes it would be if you stopped stalking me!"

    • @tejassb8658
      @tejassb8658 7 ปีที่แล้ว +9

      so damn true

    • @romanarriaga19
      @romanarriaga19 7 ปีที่แล้ว +9

      "Before you start actually learning, let me tell how about how easy it is to learn with us!" Udemy ad guy. The only reason I tend to disable ad-block is so that I can at least support Brackeys by watching ads.

    • @potatoesforpresident3499
      @potatoesforpresident3499 7 ปีที่แล้ว

      Exactly man XD

    • @originaltenka5545
      @originaltenka5545 6 ปีที่แล้ว

      David D lol...those tutorials provided aren't even better than this ones :)

    • @originaltenka5545
      @originaltenka5545 6 ปีที่แล้ว

      Max Pare lol I doubt they teach anything that actually helps

  • @johnathanheath6480
    @johnathanheath6480 6 ปีที่แล้ว +2

    Your videos have been a great blessing to me I'm currently a game design student at Full Sail University I was just recently having problems with lighting with one of my projects this video helped me fix it

  • @18ury18
    @18ury18 7 ปีที่แล้ว +3

    I would love to see a good in depth tutorial of realistic lighting in Unity and how to avoid problems such as lights trespassing walls and stuff like that. Keep the good work up man! I'm loving your content lately

  • @deniskhakimov
    @deniskhakimov 5 ปีที่แล้ว +1

    I am crying now :')
    When I started to study 3D graphics, I tried to make a similar scene, but it looked much worse despite I used 3ds Max and its best renderer.
    Now you can see interactively 3d graphics much better quality without the need for render it. And it's amazing!

  • @IbrahimQuest
    @IbrahimQuest 7 ปีที่แล้ว +1

    the video is not finished but i already subscribed !! you're definitely the best !!

  • @MrGentleSpy
    @MrGentleSpy 5 ปีที่แล้ว +1

    Brackey is always uploading very useful videos that helps me a lot in Unity, really appreciate the tutorial, wished this could work on Unity 2019 and beyond.

  • @BagelMaster
    @BagelMaster 4 ปีที่แล้ว +45

    I always feel like Brackeys is only ever showing us ~1% of his power

  • @thegemstay
    @thegemstay 7 ปีที่แล้ว

    you're one of the coolest game tutor and its really amazing to make a website dev assets. Its really really cool, specially the feather of pay what you want and mentioning the credit of developers/modelers. Keep doing great work and wish you all the best.

  • @BananaLlama
    @BananaLlama 7 ปีที่แล้ว +3

    I...
    LOVE...
    these...
    tutorials!!!!

  • @Danmakesgame
    @Danmakesgame 7 ปีที่แล้ว

    THANK YOU VERY MUCH! Almost dropped $40 on a volumetric light alternative before i stumbled across this! Subbed

  • @apost9019
    @apost9019 8 ปีที่แล้ว +55

    Merry Christmas everyone! :D

    • @Brackeys
      @Brackeys  8 ปีที่แล้ว +31

      Merry Christmas! :)

    • @1221Basel
      @1221Basel 8 ปีที่แล้ว +1

      Brackeys could you please make a video explaining all about uv maping/ projection/ baking . and importing 3d fbx objects , materials into unity

    • @Hexful
      @Hexful 7 ปีที่แล้ว +1

      Merry christmas ;D

  • @justanotheruserish
    @justanotheruserish 7 ปีที่แล้ว +3

    You are amazing, keep up the great work! Thank you for explaining the lighting setup!

  • @kinghadu9611
    @kinghadu9611 8 ปีที่แล้ว

    I love this guy only person in the world who helps poor people when I release my game and i make money I am gonna donate to this guy.

    • @Brackeys
      @Brackeys  8 ปีที่แล้ว

      Thanks man, I appreciate it :)

    • @mysteriousyoutube
      @mysteriousyoutube 8 ปีที่แล้ว

      Brackeys, great tutorial though the camera flips uside down any help on that?

  • @fiestazfs
    @fiestazfs 8 ปีที่แล้ว

    Merry Christmas brackeys

  • @ImTornadoify
    @ImTornadoify 8 ปีที่แล้ว +1

    Merry Christmas bro!

  • @func_e
    @func_e 4 ปีที่แล้ว

    Wow! This is great! I highly recommend this to all unity people. It doesn't even need to be baked!! DOOOOOOD.

  • @Adam-cn5ib
    @Adam-cn5ib 8 ปีที่แล้ว +14

    Do you have a backround in teaching or is that just a natural talent?

    • @Brackeys
      @Brackeys  8 ปีที่แล้ว +17

      Haha thanks! Actually I don't have a background in teaching ;)

    • @digimbyte
      @digimbyte 7 ปีที่แล้ว +2

      hey brackeys, love your stuff, but like, I gotta mention that you ALWAYS pronounced Vignette wrong.... it's not an english word, it's pronounced "Vin-yet"

  • @bramvanelderen9934
    @bramvanelderen9934 7 ปีที่แล้ว +10

    09:00 - 12:00 is about volumetric light

  • @thevictoralmendro
    @thevictoralmendro 8 ปีที่แล้ว

    Awesome tutorial as always Brackeys!

  • @SECAproductions
    @SECAproductions 8 ปีที่แล้ว +1

    The website is amazing, congratz! :)

  • @nipunsrivastava9657
    @nipunsrivastava9657 7 ปีที่แล้ว

    I had been trying to achieve this since so long. Thanks a ton! :D

  • @kaptainwutax9817
    @kaptainwutax9817 8 ปีที่แล้ว

    Dont forget its just.........A GAME MATH THEORY!!! Thanks for the awesome tutorial!

  • @null987
    @null987 8 ปีที่แล้ว +19

    whenever I aply the volumetric light rederer to a camera it makes the camera display an upside down image instead of the normal orientation of the camera

    • @danielbeaulieu496
      @danielbeaulieu496 8 ปีที่แล้ว +1

      I have this same problem :(

    • @danielbeaulieu496
      @danielbeaulieu496 8 ปีที่แล้ว +6

      Ok, I fixed this by 1: Making sure there is only 1 camera in the scene, 2: Using Deferrd rendering

    • @lennartb
      @lennartb 7 ปีที่แล้ว +1

      Try turning off Unity's standard MSAA (and replace it with AA script from the standard assets if you want).

    • @ferds814
      @ferds814 7 ปีที่แล้ว

      just rotate the camera upside down, youll be fine

    • @Mikelica69
      @Mikelica69 3 ปีที่แล้ว

      @@ferds814 ...

  • @Grand_Alchemist
    @Grand_Alchemist 8 ปีที่แล้ว +31

    For some reason, the volumetric lighting isn't showing up once I build the project -- any suggestions?

    • @Grand_Alchemist
      @Grand_Alchemist 8 ปีที่แล้ว +25

      Got it! Edit>Project Settings>Graphics, Always Included Shaders: add Hidden/BitAdd, and Hidden/BilateralBlur. Works like a charm.

    • @danielbeaulieu496
      @danielbeaulieu496 8 ปีที่แล้ว +3

      Thanks for updating this once you found out. Really helped me out!

    • @danielbeaulieu496
      @danielbeaulieu496 8 ปีที่แล้ว +2

      I cant seem to find those shaders, got any tips?

    • @kaleidosstudio7679
      @kaleidosstudio7679 8 ปีที่แล้ว +13

      + Sandbox/volumetricLight for me, or it doesn't works

    • @TheXtremMuffin
      @TheXtremMuffin 7 ปีที่แล้ว +1

      You just saved my project mate. Thanks a lot!

  • @jailtonsilva6634
    @jailtonsilva6634 8 ปีที่แล้ว

    uow man, this is high quality video

  • @RedsBoneStuff
    @RedsBoneStuff 7 ปีที่แล้ว

    You named the left light right and the right light left (try saying that 10 times fast)
    Nice video, and cool stuff you have there :)

  • @BobTheSkateboard01
    @BobTheSkateboard01 7 ปีที่แล้ว

    New drinking game. drink every time Brackeys advertises his patreon or an asset pack.

  • @matteo3463
    @matteo3463 7 ปีที่แล้ว

    Very good website and tutorial. Thank you for the "pay what you want" Very good idea :D

  • @brigosx
    @brigosx 7 ปีที่แล้ว

    Amazing tutorial as always. Thanks mate.

  • @zMightyKnightz
    @zMightyKnightz 8 ปีที่แล้ว +6

    It's not working for me, the camera appears upside-down and it doesn't do anything once I press play. It's just the same scene but flipped upside-down. Any help?

  • @theanalist7541
    @theanalist7541 7 ปีที่แล้ว +5

    Trying to access pass 4, but material 'Sandbox/VolumetricLight' subshader (0) has only 1 valid passes.
    UnityEngine.Material:SetPass(Int32)
    VolumetricLight:SetupDirectionalLight(VolumetricLightRenderer, Matrix4x4) (at Assets/Volumetric Lights/Scripts/VolumetricLight.cs:382)
    VolumetricLight:VolumetricLightRenderer_PreRenderEvent(VolumetricLightRenderer, Matrix4x4) (at Assets/Volumetric Lights/Scripts/VolumetricLight.cs:190)
    VolumetricLightRenderer:OnPreRender() (at Assets/Volumetric Lights/Scripts/VolumetricLightRenderer.cs:310)
    It is not work...have no idea

  • @iemerqldhilt3850
    @iemerqldhilt3850 8 ปีที่แล้ว

    Merry Christmas!

  • @lestrike2707
    @lestrike2707 3 ปีที่แล้ว +2

    Is there a up-to-date package for this? :)

  • @spider853
    @spider853 ปีที่แล้ว

    Great tutorial, I wonder where did you got the rock assets?

  • @inkythepirate9455
    @inkythepirate9455 8 ปีที่แล้ว

    thank you
    And merry Christmas! :)

  • @Channel_WoD
    @Channel_WoD 6 ปีที่แล้ว

    Awesome! Thank you for this great tutorial. It was very helpful!

  • @markoothepcdude6945
    @markoothepcdude6945 8 ปีที่แล้ว

    Thanks brackeys love you man

  • @kaoti
    @kaoti 7 ปีที่แล้ว

    Yeah.... i definitely love your channel and your content, is awesome

  • @erikm9768
    @erikm9768 7 ปีที่แล้ว +3

    My rendered image mirrors vertically when i enable the Volumetric Renderer on the camera. can't figure out why, seems its only using the default rendering path.

  • @Disthron
    @Disthron 6 ปีที่แล้ว

    This seems like a really cool tutorial but I think your demoscene should have been darker. Like, at least twilight. Because the scene in the video is too bright to really show off the effect.
    Anyway, this seems like a really good tutorial. I look forward to trying it out myself latter.

  • @abdoljalilsoltani9471
    @abdoljalilsoltani9471 6 ปีที่แล้ว

    Hi Brackeys !
    very helpful to me
    thanks

  • @darknessflame101
    @darknessflame101 7 ปีที่แล้ว

    Very nice Tutorial, thank you!

  • @GoodVibes_4You
    @GoodVibes_4You 7 ปีที่แล้ว

    Really cool tutorial ..
    and Thank you for sharing the knowledge, and taking the time to make this .. :)

  • @DoubleBob
    @DoubleBob 8 ปีที่แล้ว +4

    The "Pay what you want" button is broken (newest Firefox, default zoom)

  • @bismuthboss3902
    @bismuthboss3902 7 ปีที่แล้ว

    Thank you so much! You saved my game!

  • @christiankentorasmussen7492
    @christiankentorasmussen7492 8 ปีที่แล้ว +3

    Hey can you make a video about filters for the camera : )
    Would really help me out.

  • @samvortex4136
    @samvortex4136 7 ปีที่แล้ว

    thanks for making some of the asset free ,man you are like mesiah to poor devs XD

  • @elrincondelstylized9034
    @elrincondelstylized9034 7 ปีที่แล้ว

    Men you are great!!! thanks from mexico!

  • @voxl7632
    @voxl7632 8 ปีที่แล้ว

    Hey Brackeys, I was watching your C# tutorial series which you made about 2 years ago :P
    I was thinking it would be cool if you did a similar tutorial, but mostly aimed at game development.
    I know it might sound dumb but it would be very helpful for such noobs like me :P

  • @timbass9822
    @timbass9822 7 ปีที่แล้ว +1

    Hi! Where is the video that is referenced in the beginning of this video where the scene is created?

  • @YEYGAHH
    @YEYGAHH 7 ปีที่แล้ว +1

    Hi Brackeys. Thanks for the tut. I'm new to Unity but pretty well versed in Maya. I'm trying to add this volumetric lighting but it still doesn't seem to work. I added the script to the light, added it to the camera, pressed play, adjusted the Scattering Coef, I even did what was mentioned in the comments below of adding Sandox/volumetric ligths.. Still nothing. I thought maybe it's like Maya and it needs also Fog Volume, but I noticed in the video that you disable the Dust Storm and it still works. What am I missing? (I'm sure it's some kind of newbie thing, sorry)

  • @markkyousuke7867
    @markkyousuke7867 8 ปีที่แล้ว

    Thanks for the Tutorial.

  • @stanflintdev
    @stanflintdev 8 ปีที่แล้ว

    Could you please do a tutorial on the movement of these vehicles - especially the one with a pivot point in the middle of it, thanks!

  • @simonrazer8303
    @simonrazer8303 7 ปีที่แล้ว +1

    Are your Camera Scripts in The Dev Assets packages? And can you make a tutorial on them they look awesome!

  • @Ciaurrix
    @Ciaurrix 7 ปีที่แล้ว

    Hey this is really sweet, but I gotta ask why you chose a brightly lit scene to demonstrate volumetric lights? A scene more like that darkly lit one in the beginning would have done a lot more to demonstrate the amazingness of this!

  • @N-.-A
    @N-.-A 8 ปีที่แล้ว +1

    Go Jul og godt Nytår du gamle ;)

  • @thegoodtimesfm
    @thegoodtimesfm 7 ปีที่แล้ว

    Thank you so much! This was excellent!

  • @erikm9768
    @erikm9768 8 ปีที่แล้ว

    Great tutorial. Any way to make the effect available in the editor? :S only seem to work when you press play...

  • @hahahpizza
    @hahahpizza 8 ปีที่แล้ว

    Cool tut, thanks! Btw, which terrain asset pack are you using?

  • @MEGA_TREE
    @MEGA_TREE 3 ปีที่แล้ว

    Hake volumetric lighting using the new particle shader (distance based fade) is very useful for low-end platforms

  • @ruiricia6474
    @ruiricia6474 6 ปีที่แล้ว +1

    Hey Brackeys , i want to ask you about the volumetric lights. why my volumetric light not appeared on my build EXE game ? but appeared on my game scene on unity. Thank you !

  • @jeroencoessens
    @jeroencoessens 8 ปีที่แล้ว +1

    @Brackeys Hi, I've been fooling around bit with the package, imported it in my own project and everything works. But the volumetric lighting just doesn't shows when I build ( windows standalone ). Is there something to take care of to make this work?

  • @metalbat8414
    @metalbat8414 8 ปีที่แล้ว +6

    Hi brackeys, or whomever is reading, Ive been doing computer science for the past 3 years for gcse and a level and my teacher recommended unity to learn game development (which is career i want to follow) which led me to you. i was wonder though... where do I even start! this is mainly a problem about not knowing which of your tutorials to watch first and stuff like that but any help would be appreciated. thanks in advance

    • @kaptainwutax9817
      @kaptainwutax9817 8 ปีที่แล้ว +1

      Honestly, you can start with any series. I guess the best ones are the news one.

    • @metalbat8414
      @metalbat8414 8 ปีที่แล้ว

      ah ok thanks for the help... merry xmas

    • @kaptainwutax9817
      @kaptainwutax9817 8 ปีที่แล้ว

      Cerry Mhristmas! lol

    • @alexanderherzog3064
      @alexanderherzog3064 8 ปีที่แล้ว +2

      Handsome Jack just watch some! Find a project and learn what you need to complete it. If you like it keep going

    • @timothymakesgames
      @timothymakesgames 8 ปีที่แล้ว

      Definitely use the unity documentation, its your best friend!

  • @MohammedAlqiFahrezi
    @MohammedAlqiFahrezi 7 ปีที่แล้ว

    I love your videos

  • @MatiasFF89
    @MatiasFF89 5 ปีที่แล้ว +2

    Hi there! anyone know if the plugin works fine with Unity 2018.x? I was looking something like this for VR project

    • @pavs000
      @pavs000 4 ปีที่แล้ว

      Mine don't work but I used "Density Volume" with nice results, this is for UNITY HDRP 2019.2.xx. Oculus rift cameras, render it well :)

  • @jaymehta1786
    @jaymehta1786 8 ปีที่แล้ว

    Amazing effect :)
    Thanks :))

  • @stanflintdev
    @stanflintdev 8 ปีที่แล้ว

    Hi, loved the tutorial (highest quality on TH-cam) but i cannot find the environment asset, where is it? help pls

  • @LyrelGaming
    @LyrelGaming 4 ปีที่แล้ว

    The real tutorial starts at 8:53
    After setting up lights

  • @rafee9442
    @rafee9442 7 ปีที่แล้ว

    instant subscribe.

  • @lullaby6517
    @lullaby6517 7 ปีที่แล้ว +1

    Nice Bro !

  • @paranoidgamers5823
    @paranoidgamers5823 8 ปีที่แล้ว

    nice tutorial

  • @kingshood2021
    @kingshood2021 8 ปีที่แล้ว

    Hey Brackeys, i really enjoy your videos. Can make a turorial about Wheel colliders in unity 5.

  • @Watchan
    @Watchan ปีที่แล้ว +1

    on android black screen with this backlight. Does anyone know how to fix this?

  • @CaioMGA
    @CaioMGA 7 ปีที่แล้ว

    really nice video

  • @HenriqueMDerosa
    @HenriqueMDerosa 7 ปีที่แล้ว

    Very Nice! You make awesome tutorials! Thanks Brackeys!
    Another day I was trying to import a model into Unity, but I was using glossiness for a nice ilumination effect. How could we do it in Unity? I have to write shaders? :(
    Looks like the Standard Shader doesn't suport it using maps as Unreal does. I didn't found the information on the web, can you help me? :D

  • @lorenzo501
    @lorenzo501 7 ปีที่แล้ว +4

    It's only rendering the volumetric light within the left eye (tested with the HTC Vive). If anyone knows how to fix that for Unity VR, be my guest.

    • @wen-hanku1776
      @wen-hanku1776 5 ปีที่แล้ว

      try in VolumetricLight.cs
      delete line 361
      _commandBuffer.SetRenderTarget(renderer.GetVolumeLightBuffer());
      _commandBuffer.DrawMesh(mesh, world, _material, 0, pass);
      and add
      renderer.GlobalCommandBuffer.DrawMesh(mesh, world, _material, 0, pass);

  • @medn_
    @medn_ 6 ปีที่แล้ว

    @Brackeys:
    Just wanted to let you know that the given link for the Unity-Package is broken!

  • @alvarosd.89
    @alvarosd.89 8 ปีที่แล้ว

    Thank you for the video, man! Merry Christmas!
    Could I use this volumetric effect in Forward Rendering? I work with SteamVR and it would be cool if I could use this effect on it.
    Greets!

  • @vihanbagal1662
    @vihanbagal1662 4 ปีที่แล้ว

    does anyone know where the environment is? For the sample scene that I have, there is just a brown mesh on which the vehicles are. The environment looks very cool so I was wondering where it is.

  • @olirexgamer5992
    @olirexgamer5992 4 ปีที่แล้ว +2

    Someone managed to make it work on URP? Or to find an alternative? All the solutions I've found on the internet are not as reliable as this one (or are paid).

    • @MotionMenace2
      @MotionMenace2 2 ปีที่แล้ว +1

      Under lighting settings there is a tab Called environment, there is a fog tab. :)

  • @hans_____
    @hans_____ 8 ปีที่แล้ว

    This makes me want to make cool vehicle assets. Except I don't know how. What's the best way to start learning? Blender?

    • @ziadhatem8880
      @ziadhatem8880 7 ปีที่แล้ว

      Well there are a lot of things.
      You can Blender if you are a beginner in modeling and you can use Wings3D and SketchUp.
      and there are more like AutoDesk Maya and 3DS Max but they cost money and there free trailsof them,
      but i suggest using Blender because its good for beginners (but its a little bit hard for me).

  • @danielrugu
    @danielrugu 7 ปีที่แล้ว

    Do you need Unity PRO for this? cant seem to find the Global Fog component

  • @jeremylaplatine2528
    @jeremylaplatine2528 6 ปีที่แล้ว

    Thx for your work ! The link for unitypackage is down :'(

  • @alexvolkov6269
    @alexvolkov6269 5 ปีที่แล้ว

    Very well! Thank!

  • @ralphmacsavage
    @ralphmacsavage 6 ปีที่แล้ว

    Hey, since your old webpage doesn't work anymore, how can people find your compiled files?

  • @otakubalagaming5686
    @otakubalagaming5686 8 ปีที่แล้ว

    Please do tutorials from devassets like the weapons pack :D.

  • @MN-sx3mw
    @MN-sx3mw 6 ปีที่แล้ว +4

    Did anyone of you got the issue that volumetric light is working well in editor but not in windows build?

    • @ValtielArch
      @ValtielArch 6 ปีที่แล้ว

      I do :( And still not found the solution... Do you ?

    • @andremanzato4718
      @andremanzato4718 4 ปีที่แล้ว +1

      you just have to add the shaders to the always concluded shaders in the project settings

  • @djteogeo
    @djteogeo 6 ปีที่แล้ว

    When u look through this volumetric light, it also lights up the skybox which is far behind in the background. Is there a way to make it exclude the skybox?

  • @nexttv6656
    @nexttv6656 3 ปีที่แล้ว

    How does this function in URP? Or do i need the standart unity camera?

  • @RyuLongRHOG
    @RyuLongRHOG 5 ปีที่แล้ว

    idk why i am watching this. but it sure is Awsm.

  • @shashank1524
    @shashank1524 7 ปีที่แล้ว

    Hi
    Love your videos
    Can you please put this landscape for download on devassets?

  • @nikolaiedward479
    @nikolaiedward479 7 ปีที่แล้ว

    Assets/Volumetric Lights/Scripts/VolumetricLight.cs(98,19): error CS1061: Type `Light' does not contain a definition for `type' and no extension method `type' of type `Light' could be found. Are you missing an assembly reference?
    What should i do to this???

  • @sthavansuroshi3757
    @sthavansuroshi3757 7 ปีที่แล้ว

    hey dude u r making cool videos just keep on making such kinds of videos . hoping to find some help from u

  • @teddybotssofttoysandgames9700
    @teddybotssofttoysandgames9700 6 ปีที่แล้ว

    super - thanks. very helpfull

  • @TheSpatialCanvas
    @TheSpatialCanvas 7 ปีที่แล้ว

    Package is no longer available :(

  • @lynchon
    @lynchon 7 ปีที่แล้ว

    the camera component forces my camera turning 180 degrees in the x axis in play mode, any idea of why this happens?

  • @SkylightCityFilms
    @SkylightCityFilms 7 ปีที่แล้ว

    Alas the Unity package doesn't seem to be available any longer. Any chance of this returning?

  • @deklynpalmer3420
    @deklynpalmer3420 7 ปีที่แล้ว

    could it be used in my game without conscent like as in being published?

  • @juliuswallaceable
    @juliuswallaceable 7 ปีที่แล้ว

    Hi:
    In VR only one eye renders the Volumetric , any suggestion?
    Thanks in advance