How to make 2D GLOW in Unity!

Sdílet
Vložit
  • čas přidán 22. 08. 2024
  • In this video we create an awesome Glow effect for extra flare!
    ► Check out Popcore! popcore.com/ca...
    ● Download the project: github.com/Bra...
    ● Get Gothicvania Church Pack: assetstore.uni...
    ● Learn more about 2D Shader Graph: • Get started with 2D Sh...
    ····················································································
    ❤️ Donate: www.paypal.com...
    ► 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...
    ········································­­·······································­·­····
    ♪ "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 • 614

  • @iiguizin9162
    @iiguizin9162 Před rokem +211

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

      Hero with out cap

    • @emredesu
      @emredesu Před rokem +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 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 +89

    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.

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

    yoo this is sick actually, thancc big brack!

  • @FIREHIVE
    @FIREHIVE Před 4 lety +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 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

  • @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 4 lety

      ok awesome

    • @Purpeal
      @Purpeal Před 4 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

  • @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 3 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!

  • @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

  • @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.

  • @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

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

  • @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^^

  • @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

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

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

  • @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

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

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

  • @tafaar_
    @tafaar_ Před 2 lety +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.

  • @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

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

    YOU ARE A HERO

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

  • @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

  • @Amberleen_the_Light_Eevee

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

  • @yusrighouse
    @yusrighouse Před 4 lety

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

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

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

  • @malltshik
    @malltshik Před 3 lety

    That is mind blowing staff! Awesome dude!

  • @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"

  • @artjom5617
    @artjom5617 Před 4 lety

    why is your stuff always so cool

  • @greggunther
    @greggunther Před 4 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.

  • @davidduong1372
    @davidduong1372 Před 4 lety

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

  • @ktmochiii
    @ktmochiii Před 4 lety

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

  • @elliotthood1719
    @elliotthood1719 Před 3 lety

    This is literally EXACTLY what I was looking for

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

  • @AFStudiosMedia
    @AFStudiosMedia Před 4 lety

    Congratulations on 1M subs man!

  • @idrawpictures9140
    @idrawpictures9140 Před 3 lety

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

  • @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

  • @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.

  • @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)

  • @waltercastro2847
    @waltercastro2847 Před 4 lety

    Brackeys have made my life easier. Thank you man!

  • @JujuProdGames
    @JujuProdGames Před 4 lety

    Love your channel! Keep up the good work!

  • @fall3nworldstudios
    @fall3nworldstudios Před 2 lety

    Awesome...BEEN LOOKIN FOR THIS

  • @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.

  • @sp00l
    @sp00l Před rokem

    This is exactly what I neeeeed

  • @LassiY
    @LassiY Před 4 lety

    Finally! I have been waited this long time.

  • @inolin5667
    @inolin5667 Před 4 lety

    Thanks for the tutorial, the result really looks awesome.

  • @kartikeyaShetti
    @kartikeyaShetti Před 17 dny

    1:35 he explained gloom in one sentence 🙏❤

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

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

  • @alexeyrublichan5392
    @alexeyrublichan5392 Před 4 lety

    I've been looking for this. Thanks😉

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

    Brackeys i appreciate your content and dedication to game dev but could you include more 3D related stuff? I think we’d all like that

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

    Hi, love your videos! amazing tutorials :)

  • @KumailAhmed
    @KumailAhmed Před 3 lety

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

  • @thestickystudio6331
    @thestickystudio6331 Před 4 lety

    Thanks Brackeys! Really helped with my game!!

  • @mmabnoob814
    @mmabnoob814 Před 4 lety

    This is amazing Keep up the good work ✊

  • @GuyFromNet
    @GuyFromNet Před 4 lety

    Outline will be pretty cool

  • @javisarias
    @javisarias Před 4 lety

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

  • @rodraix
    @rodraix Před 3 lety

    Great tutorial man, it helped me a lot!!

  • @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.

  • @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

  • @eman1978
    @eman1978 Před 4 lety

    That's awesome! Thanks for that

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

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

  • @farou5736
    @farou5736 Před 4 lety

    This is what i've been looking for

  • @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.

  • @angeldiaz7554
    @angeldiaz7554 Před 4 lety

    great tutorials as always!

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

  • @EricR971
    @EricR971 Před 4 lety

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

  • @uba754
    @uba754 Před 4 lety

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

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

    2:09 Never change... just stay like this forever!

  • @HermeticaScarabelot
    @HermeticaScarabelot Před 2 lety

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

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

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

  • @KouD3Graw
    @KouD3Graw Před 4 lety

    you are a super hero.

  • @sirixb
    @sirixb Před 4 lety

    Incredible!!, Awesome!! Thaks ♥

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

    Thank You For This Videos!

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

    for whoever cant find 2D Renderer and Shader Graph,
    goto window > package manager
    search "Universal RP" while selecting Unity Registry
    install it

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

    Bro, you are incredible

  • @snacksonaplane
    @snacksonaplane Před 2 lety

    👀 Amazing tutorial man.

  • @Voldrim359
    @Voldrim359 Před rokem

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

  • @keyboard1819
    @keyboard1819 Před 4 lety

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

  • @lemetamax
    @lemetamax Před 4 lety

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

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

    Exact vid I was looking for

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

    Can you please make an indoor lighting tutorial please

  • @NStripleseven
    @NStripleseven Před 3 lety

    Bloom is a good setting

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

    ❤️❤️❤️❤️❤️❤️ CONGRATULATIONS ON 1Million SUBSCRIBERS!! ❤️❤️❤️❤️❤️❤️

  • @pumpking3006
    @pumpking3006 Před 4 lety

    Quality content, as per usual

  • @koki10190
    @koki10190 Před 4 lety

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

  • @ajrmarchan
    @ajrmarchan Před rokem

    Incredible. Thank you.

  • @GameDesignerJDG
    @GameDesignerJDG Před 4 lety

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

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

    For everyone wondering how you could do this if you have separate sprite sheets (if you have individual sprite sheets for for example walking, jumping etc):
    I have a solution to this. You will need to creat a separate shader and material for each sprite, and then, in script where you change the animation from one spritesheet to another, you will also have to change the material of the object to the material that matches that animation (if that makes any sense). In recap: do the entire process Brackeys did in the video for each individual spritesheet you have, and then change the material in script each time you switch animation. (Btw, create the material AFTER you are finished with the shader process, for me at least it did not work if I created the material BEFORE i started the process in the shader. Dunno why)

  • @sandrocutri520
    @sandrocutri520 Před 4 lety +3

    Wtf I think u can read my mind!! That’s exactly what I need!!👍❤️❤️❤️❤️

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

      *N O H E W A T C H E S Y O U T H R O U G H Y O U R W I N D O W*

    • @sandrocutri520
      @sandrocutri520 Před 4 lety

      grocery gang roblox CZcams channel 😂

  • @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?

  • @gameupdog
    @gameupdog Před 3 lety

    thx, Brackeys!

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

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

  • @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?

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

    when brackeys uplaods, all my corona fears fly away... :)

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

    14:52
    Nobody expects when the fire nation attacks

  • @Kavee_3
    @Kavee_3 Před rokem

    Well, He always saves my time❤❤

  • @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

  • @marcelinoborges5088
    @marcelinoborges5088 Před 4 lety

    WTf dude! The moment I started looking for it I found a today's video... wow! You're awesome!

  • @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

  • @_VladMir_
    @_VladMir_ Před 4 lety

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

  • @ennizodev
    @ennizodev Před 2 lety

    That's what I am looking for ❤️

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

    Hi Brackeys, Make a video on how to make a Glowing UI and also UI particle system!!!