How to make 2D GLOW in Unity!
ฝัง
- เผยแพร่เมื่อ 9 ม.ค. 2025
- 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.
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 :)
Hero with out cap
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".
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
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
Thank you so much.
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.
LMAO
ok
Just turn off your data
@@buubaku ok
@@joris4235 I was talking to chimeforest
For anyone wondering why they cannot see MainTex properties in Shader graph window... It is now moved to -> Graph inspector -> Node Settings tab
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
He just loves everything about it
There is 1 thing that really annoyed him back in the days - Camera scripts :D He said that in his Cinemachine tutorial
yoo this is sick actually, thancc big brack!
lol make a vr game
Shut up Billy
@indieaustin no waay Dani wouldn't finish Billy he's to *thicc* to be destroyed
Why u no make vr game?
@DoodleNoodlePlayzz he's not dead..nah he's...not moving that's all 😂
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.
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...
You saved me here!
You are a life saver, Thank you!!!!!!
Legend
Thank you so much! You saved me too!
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)?
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.
@@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
ok awesome
nah
uuhhhhh
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
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.
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!
When I watch videos like this it makes me feel like I will never know how to fully use this software...
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^^
for anyone having trouble following the exact same steps, try changing the "color mode" of your emissive map png to "indexed", the option should be available on most image editing programs (eg. aseprite). It magically worked for me
Omg that character is so cool!! Nice video as always my dude.
Bro make a tutorial for unity 3d how to make glowing legendary skin and kill effect with lootbox please bro please
Glow, glow everywhere! Cool 2D Shader, well done
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
10:35 shift + space to full screen toggle a tab 😉
i've been using unity professionally for 8 years and you just blew my mind
@@m4r5w0n6 my mind was blown too when I learned this
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!!!!!
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.
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
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.
also if your windows are pretty dirty.
yes it is, but the Bloom in games is just trying to reproduce that
@@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.
This looks really cool would definitely use it! And the monk is amazing!
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!!
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
That is mind blowing staff! Awesome dude!
Sprite characters with glow effect is such a beautiful charm "Eev!" ❤️
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.
Man shader graph is such a powerful tool. Brackeys, we need more content related to shader graph.
Thank you I have been searching for something like this for weeks!
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!
Thanks Brackeys, this video saved me probably many hours of adding bloom to my 2D project (after few wasted)
This is literally EXACTLY what I was looking for
why is your stuff always so cool
Brackeys have made my life easier. Thank you man!
video came out 15 seconds ago
Everybody: 15:20 haha
Thats how brackeys Glow! He got magic
ha what
Bloom is AMAZING!!!
I'm very happy :)
every time i see some light effect within my 2D game i hear an old man voice sayin "FUTTTTTTUUUUURE"
Lol, SpongeBob reference
Emission maps! Always learning something new every vid. Thanks Brackeys.
YOU ARE A HERO
1:35 he explained gloom in one sentence 🙏❤
Congratulations on 1M subs man!
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
Thanks for the tutorial, the result really looks awesome.
Finally! I have been waited this long time.
Thanks Brackeys! Really helped with my game!!
Outline will be pretty cool
Love your channel! Keep up the good work!
2:09 Never change... just stay like this forever!
YES I LOVE YOU JUST AS I NEEDED THIS AGAIN YOU ARE THE BEST
This is amazing Keep up the good work ✊
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.
This is exactly what I neeeeed
Simply great, I have been able to do it the first time to implement it in my game. Thank you.
Yes please!! Do the Outline example, that will be very useful!
Great tutorial man, it helped me a lot!!
This is what i've been looking for
I've been looking for this. Thanks😉
Awesome...BEEN LOOKIN FOR THIS
This wouldve been perfect if it came out at the start of my gamejam instead of at the end
yeah
So this is how it's done in Dead Cells... This is a wonderful 👍
Nothing to comment on. It's as usual an awesome video
It's like you knew I needed this yesterday... THANKS
it now feels like you are in my room looking what I need
this saved my life todaY, i needed emissive sprites in hdrp
👀 Amazing tutorial man.
I love to like each and every video of yours :)
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.
Quality content, as per usual
That's awesome! Thanks for that
Can you please make an indoor lighting tutorial please
great tutorials as always!
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
❤️❤️❤️❤️❤️❤️ CONGRATULATIONS ON 1Million SUBSCRIBERS!! ❤️❤️❤️❤️❤️❤️
14:52
Nobody expects when the fire nation attacks
someone needs to remake this video for 2023 its extremely difficult to follow now. Once the shader is applied to my material and player I get a block of the sprite sheet mushed together
uau, I was just looking into this two days ago with no success. Timing on this video could not have been more perfect!
OwO brs aq
Bro, you are incredible
Incredible!!, Awesome!! Thaks ♥
I like the Spaghetti Code shirt. Also, this video makes me glow!
Thank you for your videos! You make dreams seem possible!
for whoever cant find 2D Renderer and Shader Graph,
goto window > package manager
search "Universal RP" while selecting Unity Registry
install it
I need a video on that sweet outline. Working on a project for school with toon shaders.
I don't even use unity its just fun to watch :)
Hello! I have an issue about URP game setting. I created my projects as 2D and not 2D URP months ago. I want to use this cool features about lights and glows. When i changed the TileMap Render shader to Sprite Lit Default, global light works but others lights dont, like directional spot etc etc.
EDIT: Double check and USE Lights 2D and problem will be solved!
Hey can you do a video on how to make a leaderboard
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.
Well... try Rider you'll be blown away
Hey, thanks very much for that, you explained it amazingly well
YEEEEEEES..!! I LOVE YOUR TUTORIALS..!!
Well, He always saves my time❤❤
If new nodes gives you a nullref error, then upgrading your editor version might help.
how i can change the color of the material per script?
Is there a way to make this work with UI images? I can get the color to change, but there's no emission.
Edit: I figured out the solution. You have to change the "Render Mode" on the Canvas component of your Canvas to "Screen Space - Camera", then add your main camera to the "Render Camera" property and adjust the sorting layer.
Try to play around with the Threshold and intensity. I had a similar problem, that seemed to fix it.
Hi, love your videos! amazing tutorials :)
Не ну это реально круто) Тут даже сказать нечего. Сам понял как это сделать еще в начале( Но идея бы такая в голову точно бы не пришла XD)
WTf dude! The moment I started looking for it I found a today's video... wow! You're awesome!
That's what I am looking for ❤️
Could you make a tutorial about combos in melee combat in 2D. Please
So, as far my limited knowledge goes, I can use this to easily change sprite colors like when Megaman change weapons. Neat.
Great tutorial! A question though:
If you create the material from an unlit shader, it means that the emission will only happen if you have any source of light on the sprite. If then you want to have the emission actually show in the dark (no light on it) then you need to use an lit shader, but then the whole sprite is visible in the dark. Is there any way to merge the two? I basically want parts of my sprite to emit light without having a light in the scene.
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?
i forgot to add bloom and said not working i rewatched and works Thamks very muchy
If anyone is willing to help, starting from about 8:48, how would I go about doing this from a .anim file point? I don't use sprite atlases for animation. And if I do, maybe I don't understand sprite atlases, but whatever they are, how would I do that using a .anim file for animation?