How to make 2D GLOW in Unity!

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 มี.ค. 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.

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

  • @iiguizin9162
    @iiguizin9162 ปีที่แล้ว +201

    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 ปีที่แล้ว +6

      Hero with out cap

    • @emredesu
      @emredesu ปีที่แล้ว +15

      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 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว +1

      Thank you so much.

  • @DanisTutorials
    @DanisTutorials 4 ปีที่แล้ว +284

    yoo this is sick actually, thancc big brack!

    • @notmysql
      @notmysql 4 ปีที่แล้ว +3

      lol make a vr game

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

      Shut up Billy

    • @sebastianbundgaard8076
      @sebastianbundgaard8076 4 ปีที่แล้ว +6

      DanisTutorials hey Dani love your stuff

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

      @indieaustin no waay Dani wouldn't finish Billy he's to *thicc* to be destroyed

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

      Why u no make vr game?

  • @chimeforest
    @chimeforest 4 ปีที่แล้ว +88

    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.

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

      LMAO

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

      ok

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

      Just turn off your data

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

      @@buubaku ok

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

      @@joris4235 I was talking to chimeforest

  • @FIREHIVE
    @FIREHIVE 4 ปีที่แล้ว +412

    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 4 ปีที่แล้ว +15

      He just loves everything about it

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

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

  • @OlivierPons
    @OlivierPons 4 ปีที่แล้ว +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 4 ปีที่แล้ว +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 4 ปีที่แล้ว +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 3 ปีที่แล้ว

      ok awesome

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

      nah

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

      uuhhhhh

  • @mikamulperi
    @mikamulperi 3 ปีที่แล้ว +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 4 ปีที่แล้ว +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.

  • @UnluckyIAM
    @UnluckyIAM 4 ปีที่แล้ว +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

  • @draalahora5910
    @draalahora5910 4 ปีที่แล้ว +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!

  • @CodingJedi
    @CodingJedi 4 ปีที่แล้ว +6

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

  • @Ahmed-ic9ft
    @Ahmed-ic9ft 4 ปีที่แล้ว +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

  • @LuisGRano
    @LuisGRano 3 ปีที่แล้ว +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 3 ปีที่แล้ว +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 3 ปีที่แล้ว +1

      You saved me here!

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

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

    • @valourcat3164
      @valourcat3164 2 ปีที่แล้ว

      Legend

    • @GamePhysics
      @GamePhysics 2 ปีที่แล้ว

      Thank you so much! You saved me too!

  • @theStroke
    @theStroke 4 ปีที่แล้ว +33

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

    • @artjom5617
      @artjom5617 4 ปีที่แล้ว +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^^

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

    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 3 ปีที่แล้ว

    That is mind blowing staff! Awesome dude!

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

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

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

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

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

    Finally! I have been waited this long time.

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

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

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

    Love your channel! Keep up the good work!

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

    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!

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

    I've been looking for this. Thanks😉

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

    Thanks for the tutorial, the result really looks awesome.

  • @fall3nworldstudios
    @fall3nworldstudios 2 ปีที่แล้ว

    Awesome...BEEN LOOKIN FOR THIS

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

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

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

    This is amazing Keep up the good work ✊

  • @Amberleen_the_Light_Eevee
    @Amberleen_the_Light_Eevee 2 ปีที่แล้ว

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

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

    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.

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

    This is literally EXACTLY what I was looking for

  • @PacoBarba
    @PacoBarba 2 ปีที่แล้ว

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

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

    why is your stuff always so cool

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

    Congratulations on 1M subs man!

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

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

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

    great tutorials as always!

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

    Brackeys have made my life easier. Thank you man!

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

    Thanks Brackeys! Really helped with my game!!

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

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

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

    Great tutorial man, it helped me a lot!!

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

    That's awesome! Thanks for that

  • @diliupg
    @diliupg 4 ปีที่แล้ว +22

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

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

      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

  • @NoName-qf4tu
    @NoName-qf4tu 4 ปีที่แล้ว +1

    YOU ARE A HERO

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

    This is what i've been looking for

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

    That's pretty cool :o

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

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

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

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

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

    Quality content, as per usual

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

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

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

    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.

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

    Incredible!!, Awesome!! Thaks ♥

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

    This is exactly what I neeeeed

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

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

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

    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

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

    This is great!

  • @hotbutteredcrumpets
    @hotbutteredcrumpets 2 ปีที่แล้ว

    👀 Amazing tutorial man.

  • @HermeticaScarabelot
    @HermeticaScarabelot 2 ปีที่แล้ว

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

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

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

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

    Thank You For This Videos!

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

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

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

    Incredible. Thank you.

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

    Great video!

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

    Outline will be pretty cool

  • @VitorHugo-wi9yj
    @VitorHugo-wi9yj 4 ปีที่แล้ว

    Bro, you are incredible

  • @sykoo
    @sykoo 4 ปีที่แล้ว +17

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

    • @Ayaan.Khan_new
      @Ayaan.Khan_new 2 ปีที่แล้ว

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

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

    Hi, love your videos! amazing tutorials :)

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

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

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

    you are a super hero.

  • @tafaar_
    @tafaar_ 2 ปีที่แล้ว +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.

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

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

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

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

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

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

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

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

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

    I am rashid iqbal from Pakistan .When i started learning games from TH-cam 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

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

    thx, Brackeys!

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

    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?

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

    Pretty cool

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

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

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

    Awesome :)

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

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

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

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

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

    Well, He always saves my time❤❤

  • @ennizodev
    @ennizodev 2 ปีที่แล้ว

    That's what I am looking for ❤️

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

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

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

      Lol, SpongeBob reference

  • @danilosadzinski4648
    @danilosadzinski4648 4 ปีที่แล้ว +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?

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

    sick!

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

    Exact vid I was looking for

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

    perfect!

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

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

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

    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 4 ปีที่แล้ว

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

  • @user-sg5yu6im8n
    @user-sg5yu6im8n 4 ปีที่แล้ว +64

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

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

      Thats how brackeys Glow! He got magic

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

      ha what

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

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

  • @rightyboywilson4911
    @rightyboywilson4911 4 ปีที่แล้ว +11

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

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

    You make me wanna learn game development xD

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

    Koa... cool... koa...
    That part made me laugh! 🤣

  • @johnElden8760
    @johnElden8760 6 หลายเดือนก่อน

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

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

    oh a new video

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

    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 4 ปีที่แล้ว

    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.

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

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

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

    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!!!!

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

    Wohoo!!! 👍😜

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

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

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

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