How to make 2D GLOW in Unity!

Sdílet
Vložit
  • čas přidán 21. 03. 2020
  • In this video we create an awesome Glow effect for extra flare!
    ► Check out Popcore! popcore.com/career
    ● Download the project: github.com/Brackeys/2D-Glow
    ● Get Gothicvania Church Pack: assetstore.unity.com/packages...
    ● Learn more about 2D Shader Graph: • Get started with 2D Sh...
    ····················································································
    ❤️ Donate: www.paypal.com/donate/?hosted...
    ► Join Discord: / discord
    ● Website: brackeys.com/
    ● Twitter: / brackeystweet
    ● Instagram: / brackeysteam
    ········································­­·······································­·­····
    ► All content by Brackeys is 100% free. We believe that education should be available for everyone.
    ❤️ Donate: www.paypal.com/donate/?hosted...
    ········································­­·······································­·­····
    ♪ "ES_Dress Code_Black - oomiee" by Epidemic Sound
    ♪ "Brooklyn Flava - Mattias Andreasson" by Epidemic SoundIn this video WE CREATE AN AWESOME 2D Glow effect.

Komentáře • 609

  • @iiguizin9162
    @iiguizin9162 Před rokem +191

    For those who are on a more current version of unity, the main node "Sprite Unlit Master" has been replaced by "Vertex" and "Fragment". So for this effect to work, just connect A(1) of "MainTex / Sample Texture 2D" to Alpha(1) of "Fragment", and connect Out(4) of "Add" to Base Color(3) of " Fragment". Hope this helps :)

    • @issaelynuma9001
      @issaelynuma9001 Před rokem +6

      Hero with out cap

    • @emredesu
      @emredesu Před rokem +14

      If you can't see the "Alpha" in "Fragment", click on "Base Color" of "Fragment", click on "Graph Settings" in Graph Inspector, and then set "Surface Type" to "Transparent".

    • @nothingatall6703
      @nothingatall6703 Před rokem +2

      Can u please help me how to do the second part where we change the color and intensity of the glow because it doesn't work for me. It's always white color and looks well only when I connect the alpha of the emission / Sample Texture 2D to the multiply

    • @nothingatall6703
      @nothingatall6703 Před rokem +1

      Actually the intensity is working and the glow its changing its color but the parts of my character dont change their color, they remain white

    • @raahimfareed
      @raahimfareed Před rokem +1

      Thank you so much.

  • @chimeforest
    @chimeforest Před 4 lety +87

    My favorite Popcore game is "Watch The Ad", it's this game where you play a super short level of something, and then watch an un-skippable ad which takes longer than the level. Best game ever.

  • @FIREHIVE
    @FIREHIVE Před 4 lety +411

    When Brackeys has to make a new video about unity: "One of my favorite things in unity is *insert video's title keyword here* :D

    • @cathacker13
      @cathacker13 Před 4 lety +15

      He just loves everything about it

    • @neothespankplank5839
      @neothespankplank5839 Před 3 lety +1

      There is 1 thing that really annoyed him back in the days - Camera scripts :D He said that in his Cinemachine tutorial

  • @DanisTutorials
    @DanisTutorials Před 4 lety +285

    yoo this is sick actually, thancc big brack!

  • @OlivierPons
    @OlivierPons Před 4 lety +411

    Your "How to make a 2D Platformer" is 4 years old, a *lot* has changed since (including how joyful your videos are today!!). Any chance you do it again but with your 4 years+ experience (like a "How to make a 2D Platformer" 2.0)?

    • @CartoonH2O
      @CartoonH2O Před 4 lety +19

      The problem with long tutorial series like this is that I don't think they get as many views after the first 1 or 2 videos, because a lot of people will start it, then give up. So in terms of monetizing etc, it's probably not as good a moneymaker as random little videos like this. It's a shame because I'd love more tutorial series too.

    • @dvenom642
      @dvenom642 Před 4 lety +7

      @@CartoonH2O He is not doing it for money i think cuz hes developing games for like 10 years. I bet its just more fun to him to make small videos

    • @joris4235
      @joris4235 Před 3 lety

      ok awesome

    • @Purpeal
      @Purpeal Před 3 lety

      nah

    • @pyro1438
      @pyro1438 Před 3 lety

      uuhhhhh

  • @mikamulperi
    @mikamulperi Před 3 lety +70

    For anyone wondering why they cannot see MainTex properties in Shader graph window... It is now moved to -> Graph inspector -> Node Settings tab

  • @cam4722
    @cam4722 Před 4 lety +11

    This was great. I'd love a complete *series* on Shader Graph and the terminology and concepts of shaders to get beginners comfortable creating on their own.

  • @draalahora5910
    @draalahora5910 Před 4 lety +9

    I just started doing game development as a hobbie, and I'm so glad to find someone so talented and brilliant as you in my way.
    This video was AWESOME!

  • @UnluckyIAM
    @UnluckyIAM Před 4 lety +7

    Amazing! Yesterday I've been worried about how to make some cool 2D Lighting Glow. I checked your 2D Lights video, but it already isn't up-to-date and it basically didn't work. Voilà, now you made this great video that really helped me. Love u Brackeys! :D

  • @CodingJedi
    @CodingJedi Před 4 lety +6

    This looks really cool would definitely use it! And the monk is amazing!

  • @LuisGRano
    @LuisGRano Před 3 lety +65

    If your sprite is still showing as a blank square even after following every step, you just need to connect the alpha (A(1)), from the Sample Texture 2D of the MainTex(T2), to the alpha(1) from the Fragment section (below Base Color(3)). Seems like in lastest versions of Unity they changed the Sprite Unlit Master, so there are some differences.

    • @TheCrushiii
      @TheCrushiii Před 3 lety +2

      Hey, I am sorry but I can't find this "Alpha channel" in Fragment...Can you tell me where it is ? It seems that unity update this...

    • @ioruko23
      @ioruko23 Před 3 lety +1

      You saved me here!

    • @nesterio619
      @nesterio619 Před 2 lety +1

      You are a life saver, Thank you!!!!!!

    • @valourcat3164
      @valourcat3164 Před 2 lety

      Legend

    • @GamePhysics
      @GamePhysics Před 2 lety

      Thank you so much! You saved me too!

  • @theStroke
    @theStroke Před 4 lety +33

    When I watch videos like this it makes me feel like I will never know how to fully use this software...

    • @artjom5617
      @artjom5617 Před 4 lety +4

      haha yeah man me too. but after some years now i did see alot and know alot about Unity. the most stuff i learn from videos like these, they are doing some stuff i didnt know it exit, then i check it out, play a little bit and know it.
      if i get into my own games, i will now always remember there was something cool with glow effects, i will probably get back here and rewatch it and learn it even better...
      thats the way i go^^

  • @Ahmed-ic9ft
    @Ahmed-ic9ft Před 4 lety +56

    Brackeys i know this have been said but i just find it crazy, yesterday i was looking all over the internet for this effect but didnt find anything good and today u post this. ty

  • @corbywhite4662
    @corbywhite4662 Před 3 lety

    a huge thank you to you and your channel guys! i m new at unity, still trying to figure it out, and your tutorials are really helpful!

  • @ktmochiii
    @ktmochiii Před 4 lety

    Emission maps! Always learning something new every vid. Thanks Brackeys.

  • @yusrighouse
    @yusrighouse Před 4 lety

    Man shader graph is such a powerful tool. Brackeys, we need more content related to shader graph.

  • @davidduong1372
    @davidduong1372 Před 4 lety

    Thank you I have been searching for something like this for weeks!

  • @nitumi
    @nitumi Před 4 lety

    Thanks Brackeys, this video saved me probably many hours of adding bloom to my 2D project (after few wasted)

  • @MRBenjii
    @MRBenjii Před 4 lety

    I've been using unity for like 5 years and for the life of me no matter what i read i couldn't figure out 'bloom', i managed to follow along and instead of 2d sprites i managed to get it working for 3d objects, because the principle is pretty much the same and MY GOD its finally up and running, its amazing what a little bit of glow can do for the visuals of a game 10/10 for this tutorial!!!!!

  • @malltshik
    @malltshik Před 3 lety

    That is mind blowing staff! Awesome dude!

  • @inolin5667
    @inolin5667 Před 4 lety

    Thanks for the tutorial, the result really looks awesome.

  • @PacoBarba
    @PacoBarba Před 2 lety

    Simply great, I have been able to do it the first time to implement it in my game. Thank you.

  • @elliotthood1719
    @elliotthood1719 Před 2 lety

    This is literally EXACTLY what I was looking for

  • @waltercastro2847
    @waltercastro2847 Před 3 lety

    Brackeys have made my life easier. Thank you man!

  • @Amberleen_the_Light_Eevee

    Sprite characters with glow effect is such a beautiful charm "Eev!" ❤️

  • @JujuProdGames
    @JujuProdGames Před 4 lety

    Love your channel! Keep up the good work!

  • @greggunther
    @greggunther Před 3 lety

    Wow. That was amazing. I started in Unity years ago but didn't really take it very far. Now I'm getting the 'bug' again to get back into game dev. There was so much in this video. Stuff I never even saw before. All those node thingys. What even was all that. I guess I need to learn a lot more. Thanks.

  • @alexeyrublichan5392
    @alexeyrublichan5392 Před 4 lety

    I've been looking for this. Thanks😉

  • @LassiY
    @LassiY Před 4 lety

    Finally! I have been waited this long time.

  • @thestickystudio6331
    @thestickystudio6331 Před 3 lety

    Thanks Brackeys! Really helped with my game!!

  • @stratisdermanoutsos9113

    Thank you so much for this video.
    I am trying to make an Iron Man ark Reactor for a UI I am working on.
    This is the best tutorial I've seen so far.

  • @mmabnoob814
    @mmabnoob814 Před 4 lety

    This is amazing Keep up the good work ✊

  • @artjom5617
    @artjom5617 Před 4 lety

    why is your stuff always so cool

  • @javisarias
    @javisarias Před 4 lety

    Yes please!! Do the Outline example, that will be very useful!

  • @sykoo
    @sykoo Před 4 lety +17

    Omg that character is so cool!! Nice video as always my dude.

    • @Ayaan.Khan_new
      @Ayaan.Khan_new Před 2 lety

      Bro make a tutorial for unity 3d how to make glowing legendary skin and kill effect with lootbox please bro please

  • @idrawpictures9140
    @idrawpictures9140 Před 3 lety

    Bloom is AMAZING!!!
    I'm very happy :)

  • @2dinunity10
    @2dinunity10 Před 4 lety +37

    10:35 shift + space to full screen toggle a tab 😉

    • @m4r5w0n6
      @m4r5w0n6 Před 3 lety +2

      i've been using unity professionally for 8 years and you just blew my mind

    • @2dinunity10
      @2dinunity10 Před 3 lety

      @@m4r5w0n6 my mind was blown too when I learned this

  • @fall3nworldstudios
    @fall3nworldstudios Před 2 lety

    Awesome...BEEN LOOKIN FOR THIS

  • @diliupg
    @diliupg Před 4 lety +22

    I ported my game to Unity 2019.3 URP and wanted to give some sptires a glow and then came to CZcams and found this!!

    • @youneskasdi
      @youneskasdi Před 4 lety

      Scary isnt it, for me i was actually talking to my friend who is working on a small game with me about how to make some game objects glow and after i opened youtube the first recommended video was this

  • @GabrielAguiarProd
    @GabrielAguiarProd Před 4 lety +2

    Glow, glow everywhere! Cool 2D Shader, well done

  • @rodraix
    @rodraix Před 3 lety

    Great tutorial man, it helped me a lot!!

  • @hcps2576
    @hcps2576 Před 4 lety +1

    YES I LOVE YOU JUST AS I NEEDED THIS AGAIN YOU ARE THE BEST

  • @farou5736
    @farou5736 Před 4 lety

    This is what i've been looking for

  • @AFStudiosMedia
    @AFStudiosMedia Před 4 lety

    Congratulations on 1M subs man!

  • @angeldiaz7554
    @angeldiaz7554 Před 4 lety

    great tutorials as always!

  • @uba754
    @uba754 Před 4 lety

    Thank you for your videos! You make dreams seem possible!

  • @HermeticaScarabelot
    @HermeticaScarabelot Před 2 lety

    Hey, thanks very much for that, you explained it amazingly well

  • @sp00l
    @sp00l Před rokem

    This is exactly what I neeeeed

  • @ILoveThisGame778
    @ILoveThisGame778 Před 4 lety

    I am rashid iqbal from Pakistan .When i started learning games from CZcams i was so disappointed but when i was searching for courses i found your video about top down shooting. Thats where i found my buddy. And today following your tutorials i completed my first mobile game. Only ads integration remaining. I searched your channel but there is no video about reward video ads but i am searching it i just want to say thank you sir.
    You are amazing

  • @tafaar_
    @tafaar_ Před rokem +2

    For anyone else that was running into the issue where the entire sprite would start glowing instead of just the emission node, I think I found a solution.
    Instead of linking the multiply node Out(4) directly into the add node, link it into a new multiply node alongside the A(1) from the emission sample texture. You should be able to see your emission texture with the color you've assigned now, and then you can plug the Out(4) into the add node and things should work as expected.

  • @KumailAhmed
    @KumailAhmed Před 3 lety

    I love to like each and every video of yours :)

  • @eman1978
    @eman1978 Před 3 lety

    That's awesome! Thanks for that

  • @sirixb
    @sirixb Před 3 lety

    Incredible!!, Awesome!! Thaks ♥

  • @EricR971
    @EricR971 Před 4 lety

    it now feels like you are in my room looking what I need

  • @GuyFromNet
    @GuyFromNet Před 4 lety

    Outline will be pretty cool

  • @ajrmarchan
    @ajrmarchan Před rokem

    Incredible. Thank you.

  • @JeloOW
    @JeloOW Před 4 lety

    YO NO WAY I CHECKED IF YOU UPLOADED A NEW VID YET LIKE 5/6 HOURS AGO AND NOW I STARTED MAKING A 2D GAME IN WHICH I NEED GLOW

  • @pumpking3006
    @pumpking3006 Před 4 lety

    Quality content, as per usual

  • @lemetamax
    @lemetamax Před 4 lety

    I like the Spaghetti Code shirt. Also, this video makes me glow!

  • @GameDesignerJDG
    @GameDesignerJDG Před 4 lety

    I need a video on that sweet outline. Working on a project for school with toon shaders.

  • @PistoleroDoc
    @PistoleroDoc Před 4 lety

    Brakeys thanks for all the videos you make, I follow you from Italy :D
    Have you already made a video on how to create multiple layers using a single scene?

  • @hotbutteredcrumpets
    @hotbutteredcrumpets Před 2 lety

    👀 Amazing tutorial man.

  • @danilosadzinski4648
    @danilosadzinski4648 Před 4 lety +2

    Damn! That's awesome! I'm just making my very first game and I'm using pixel art, and this will help a lot.
    Could you show an easy way to cast shadows with these lights?

  • @NoName-qf4tu
    @NoName-qf4tu Před 4 lety +1

    YOU ARE A HERO

  • @KMOONN
    @KMOONN Před 4 lety +1

    Thank You For This Videos!

  • @Kavee_3
    @Kavee_3 Před rokem

    Well, He always saves my time❤❤

  • @johnElden8760
    @johnElden8760 Před 5 měsíci

    this saved my life todaY, i needed emissive sprites in hdrp

  • @mordekaidc
    @mordekaidc Před 4 lety

    This is just what i need for my 2d project, thank you so much!! im a mess with the shader editor hahaha

  • @VitorHugo-wi9yj
    @VitorHugo-wi9yj Před 4 lety

    Bro, you are incredible

  • @looserdev
    @looserdev Před 4 lety +4

    Hi, love your videos! amazing tutorials :)

  • @Kaldrin
    @Kaldrin Před 4 lety

    That's pretty cool :o

  • @mrflovi3611
    @mrflovi3611 Před 4 lety +1

    It's like you knew I needed this yesterday... THANKS

  • @jairoandresvizuetepedraza5492

    YEEEEEEES..!! I LOVE YOUR TUTORIALS..!!

  • @thecrispypickle7944
    @thecrispypickle7944 Před 4 lety

    This is great!

  • @keyboard1819
    @keyboard1819 Před 4 lety

    Nothing to comment on. It's as usual an awesome video

  • @ennizodev
    @ennizodev Před 2 lety

    That's what I am looking for ❤️

  • @unlockener
    @unlockener Před 4 lety

    Great video!

  • @rightyboywilson4911
    @rightyboywilson4911 Před 4 lety +11

    This wouldve been perfect if it came out at the start of my gamejam instead of at the end

  • @bolabows8136
    @bolabows8136 Před 4 lety

    I’d really like to see you do a tutorial series on visual scripting in visual studio.
    And I think most people here would like it too.

    • @OlivierPons
      @OlivierPons Před 4 lety

      Well... try Rider you'll be blown away

  • @KouD3Graw
    @KouD3Graw Před 4 lety

    you are a super hero.

  • @TheFritoNation
    @TheFritoNation Před 4 lety

    Hello Brackeys thank you for these amazing videos they have helped me SO much!!!
    I was wondering if you would be able to make a video on how a 2D player can pick up a weapon (gun) and when they pick it up it attaches to their body then they can start shooting it!
    I've been having trouble with this and would greatly appreciate the help!!!!

  • @user-sg5yu6im8n
    @user-sg5yu6im8n Před 4 lety +64

    video came out 15 seconds ago
    Everybody: 15:20 haha

  • @gameupdog
    @gameupdog Před 3 lety

    thx, Brackeys!

  • @Voldrim359
    @Voldrim359 Před 11 měsíci

    So this is how it's done in Dead Cells... This is a wonderful 👍

  • @SamBS_Indie_Dev
    @SamBS_Indie_Dev Před 2 lety

    muito obrigado isto me ajudou muito ,consegui adicionar no meu projeto e ficou incrivel

  • @Tristannn-
    @Tristannn- Před 4 lety +1

    Exact vid I was looking for

  • @matheussouza7758
    @matheussouza7758 Před 4 lety

    You make me wanna learn game development xD

  • @miguelpasadinhas7678
    @miguelpasadinhas7678 Před 4 lety +2

    uau, I was just looking into this two days ago with no success. Timing on this video could not have been more perfect!

  • @NStripleseven
    @NStripleseven Před 3 lety

    Bloom is a good setting

  • @benzenatizineeddine7816
    @benzenatizineeddine7816 Před 4 lety +7

    every time i see some light effect within my 2D game i hear an old man voice sayin "FUTTTTTTUUUUURE"

  • @wassilchoujaa3478
    @wassilchoujaa3478 Před 4 lety

    Congrats foro 1 M can you make a dynamic fluid simulation for Unity Plzzz ! Keep up the good work.

  • @bradb5129
    @bradb5129 Před 4 lety

    Cool! Could you please make a tutorial on how to save and load advanced things like and FPS or a 3D RPG?

  • @NihongoWakannai
    @NihongoWakannai Před 4 lety +11

    1:37 that's not true, bloom is an effect that happens in the lens of the camera. This is why a light source which is partly occluded by an object will have its bloom overlap that object, because the bloom happens in-lens and isn't a physical phenomenon happening to the light itself in the air.

    • @hiiambarney4489
      @hiiambarney4489 Před 4 lety

      also if your windows are pretty dirty.

    • @alextrollip7707
      @alextrollip7707 Před 4 lety

      yes it is, but the Bloom in games is just trying to reproduce that

    • @NihongoWakannai
      @NihongoWakannai Před 4 lety

      @@alextrollip7707 I'm aware. But bloom is not an effect caused by "light moving through the air" it is from light interacting with the camera.

  • @_VladMir_
    @_VladMir_ Před 4 lety

    Не ну это реально круто) Тут даже сказать нечего. Сам понял как это сделать еще в начале( Но идея бы такая в голову точно бы не пришла XD)

  • @GreedPrayer
    @GreedPrayer Před 4 lety

    Yes! We want to know how to do outlines using shaders in 2d

  • @YnIanIo
    @YnIanIo Před 4 lety

    Just when i thought i had awesome looking space ship engine flame effects that dropped a nice light you come and show me another way to spend hours on making it look even cooler! Awesome tutorial as always.

  • @adhamberjawi4078
    @adhamberjawi4078 Před 4 lety

    Brackeys it would be awesome to show us how you can create a distortion/vertex displacement effect on a 2D sprite. Ex: You enter a field that has this distortion effect and anything inside it gets distorted.

  • @ahmedsleem81
    @ahmedsleem81 Před 4 lety

    Pretty cool

  • @koki10190
    @koki10190 Před 4 lety

    i forgot to add bloom and said not working i rewatched and works Thamks very muchy

  • @Duckamoly
    @Duckamoly Před 4 lety

    I don't even use unity its just fun to watch :)