This is one of the best shader tutorials I've ever seen. Clear and the inclusion of the "mistakes" as an iterative process was very helpful for exploring the problem solving aspect of developing your own shaders. Bravo
@gregkornev23196 ай бұрын
The best tutorial of the decade. Not only the final effect but going step by step! Each step can be used as a separate cool shader. And I learned more useful nodes here than ever before.
@sebastianking657 Жыл бұрын
I've been using Unity 2021.3.8f1 and I was following this tutorial, for some reason the zoom effect only works when the position that's tied to the sphere mask is set to object space instead of world, but I'm not entirely sure why that is, it didn't seem to affect anything going forward but I thought I would mention it. Great video! This was very helpful in helping me understand how shader effects can be used in tandem with code :) EDIT: I also had to change the vertex displacement shader so that the sphere mask was tied to the object space position, like the zoom effect, and multiplied that with the world space normal vector. I also also had to do the same thing for the dissolve, and I didn't have to do any funky math with the dissolve start height, which remained at 0, so that part was omitted. I also very much appreciate how each piece of the shader is made into its own graph with their own materials so that we can see how each piece looks, that is golden
@vitaliySobakinson Жыл бұрын
Thanks)
@김치만-l5z11 ай бұрын
Thanks!
@mak_attakks3 ай бұрын
Thanks for separating the tutorial into independent chapters! Excellent work!
@WhiteWolfIron7 ай бұрын
Thanks, cool effect and very good tutorial. I like the idea of split every element into separate shader to demonstrate effect.
@explosivo3065 Жыл бұрын
FOR ANYONE USING HDRP on the TWIRL DISTORTION 1:00 Create a NODE called "Exposure" put it under "Scene Color and "Multiply" "Scene Color" and "Exposure" Then the NODE "Multiply" put it on the "Base Color" as you would normally
@alppih3 жыл бұрын
Brilliant stuff, thank you for this. Democratization of information is one of the greatest virtues. One thing to note here though: line 20 of the projectile script: transform.position += delta; should be after everything else, otherwise the projectile will go blindly forward without checking anything about the collision first! This will lead in the projectile occasionally going through the shield/whatever is being hit. Cheers and have a good day!
@ABitOfGameDev3 жыл бұрын
Thank you, you are correct it should be at the bottom, I will correct the git version!
@nameno70322 жыл бұрын
Dude, dont stop the series
@ABitOfGameDev2 жыл бұрын
I have been very busy this past year, and still am, but i plan to resume uploading shortly :D
@nameno70322 жыл бұрын
@@ABitOfGameDev Great!!! Glad to find out your channel, easily best real-time vfx tutorial out there.
@albertgarcia30483 жыл бұрын
Holy shit shader. Been trying to achieve something like this for some time. I always struggled on the "hit and react" part. You also added distortion and zoom. Just take my like and subscribe and make another video, please hahaha
@ABitOfGameDev3 жыл бұрын
haha thank you for the subscribe, Im planning on making a video every two weeks or so, depending on the free time and the complexity of the video.
@ruoroyd.92253 жыл бұрын
这几天把每个shader仔细学习了一遍,真的学到了很多东西。这就是智慧啊。非常感谢!
@ABitOfGameDev2 жыл бұрын
With the knowledge of google translate haha Thank you!
@VFORVICTORY10003 жыл бұрын
so much helpful with the zoom out screen ,can see whats going on
@tnt345i76 ай бұрын
2:00 there is a camera direction node in shader graph, few tweaks could be done so that script is not needed
@OllegN3 жыл бұрын
Looks awesome, thanks for sharing
@흰늑대-y3q3 жыл бұрын
Awesome, thanks a lot for sharing!
@sagrgywejhxcvx7 ай бұрын
NICE. looks awesome
@ruoroyd.92253 жыл бұрын
thank you!非常感谢,受益良多!
@SebastianGraves Жыл бұрын
Amazing. Cheers!
@hagwe2 жыл бұрын
what is error "use of potentially uninitialized variable (AdditionalLightRealtimeShadow) Shadows.hsl:325"? I just created a shader. Added noise and colored it. It seems nothing complicated, but this error appeared.
@kingbling75713 жыл бұрын
Ayy finally!
@CloudyNebula5 күн бұрын
This was an incredible tutorial, although the video was extremely fast for every step. Of course I could just keep pausing, but damn. I would suggest you slow down a little bit every time you type, create or add some new component. Other than that, thanks a lot for this video.
@Awlorein2 жыл бұрын
Are you trying to speedrun it or what?
@branidev3 жыл бұрын
Yesterday I added shields to my top down game , Hah this video would be great if I making 3D space game.
@ABitOfGameDev3 жыл бұрын
Could also be used for a fantasy game it does have some magical flare :D
@EnchikO3 жыл бұрын
WOW. Will you make tutorial for those bullets (hit particle effect)
@LollyPoppi27 күн бұрын
Hey, why not using shader to make the effect facing the camera? Shoulmd be more smooth, and efficient.
@henriqueam3 ай бұрын
Hello everyone! After I set my material to transparent, my sphere does not look transparent in the game, It still looks gray. I'm using URP by the way. Any ideas on what could it be?
@lananhphamo38932 ай бұрын
You can try this: Project => Find: URP-High Fidelity (Universal Render Pipeline Asset) Turn on: Opaque Texture Depth Texture
@asawii3 жыл бұрын
Looks Awesome !!
@MarcelRuland3 жыл бұрын
I love the tutorial but I have to say the background music is really distracting. Makes it difficult to concentrate. Other than that, really well done!
@DiciWales3 жыл бұрын
agree either lower the background music alot or get rid of it completely, Great tutorial otherwise!
@ABitOfGameDev3 жыл бұрын
I ill tweek it for the next time. Thanks for the feedback. Lower it, than maybe slightly increase it for the silent parts?
@DiciWales3 жыл бұрын
@@ABitOfGameDev I don't think increase it in silent parts as it will be distracting tbh, really enjoying your videos and tutorials tho so keep up the good work! How long have you been using unity for ? Your really good!
@MarcelRuland3 жыл бұрын
@@ABitOfGameDev personally I would remove it entirely or keep it very quiet, even during the silent parts. It distracts me, but it's also just personal preference.
@ABitOfGameDev3 жыл бұрын
@@DiciWalesThanks then just lowring it may be enough (easier for edditing too) About 5y now, and I still find out about basic stuff I had no idea about hah
@Rzyrito2 жыл бұрын
If I wanted to make this a trigger when a player walks through something how would I type this line of code in? So I wanna make it when a player steps on a tile the shield forms around that area they stepped on. Please help
@yusufkoraycan4607 Жыл бұрын
Thanks!
@leandrogatti53288 ай бұрын
I followed the tutorial in every step but for some reason the Twirl effect is not working correctly with the UV. Where the UV has the edge, the Twirl effect ends in that edge, making the line of the UV visible and not smoothly mixing with the other side. Any idea on how to fix this?
@배노혁7 ай бұрын
Did you make your UVmap correctly? The reason you see that line (seam) is because you created a sphere and used the default UVmap. Re-creating the UVmap as described in the video will probably fix the issue.
@andaccoban6632 жыл бұрын
Can we apply this shader to the flat surfaces such as one surface of the triangle?
@Revilum2 жыл бұрын
First of all, thank you for this awesome tutorial. However, I have a problem when setting the shader from transparent to opaque surface mode, as it starts to render over itself. I would describe it as an infinite mirror effect, just like when twitch streamers pull their recording software onto the screen. Any idea how to fix this?
@StaviKay Жыл бұрын
Is there any way you could use this with a URP Renderer 2D instead of Forward Renderer?
@nexgen.graphics2 жыл бұрын
0:46 is it always this complex? aren't there any easy ways to achieve it?
@moonbyte.studio3 жыл бұрын
Hi... im really new to Shader graph, is there anyway that i can convert this to a 2d shader ?? what changes do i have to make on the current shader?
@ABitOfGameDev3 жыл бұрын
Yes there is, but quite a few changes. You could just use this 3D sphere in 2D ortographic and call it a day but for true 2D you only need a Plane, a circle mask texture, outline circle texture, and the same disolve tehnique i used here. I hope that makes sense
@moonbyte.studio3 жыл бұрын
@@ABitOfGameDev Thank you for replying, I did put the 3d sphere in 2d orthographic view it works but the object/character inside the sphere is always really white. I have to look into the true 2D method that you have said, haven't quite got it but i will figure something out. once again thanks for replying have subbed 🙌
@ABitOfGameDev3 жыл бұрын
@@moonbyte.studio Np glad to help if I can! Thanks for the sub!
@shafinsikder Жыл бұрын
great
@leerc77218 ай бұрын
I followed the tutorial but my shader does not look anything like yours. The whole sphere is blue and the dissolve does not go from bottom to top. It dissolves the whole sphere evenly. I then imported in your shader and it was the same as mine so I didn't make any mistakes. Is there some setting I need to change that you haven't shown in the video perhaps?
@TavoDev5 күн бұрын
same right here, idk where's the mistake. I'm using Unity 2022.3.16.
@kerbalette1563 жыл бұрын
Amaze
@dnddkqja0987 Жыл бұрын
In 2021.3.15f version Unity, the zoom shader and vertex displacement shader do not work. Distortion and presnal shaders work. do you have a solution?
@soukameno95711 ай бұрын
did foind an answer ? im struggling with the same problem the material does not appear everything is transparent
@AznProfet3 жыл бұрын
I have an issue where I put the material on the obj, but in scene view and game view it doesnt appear. I'm using shader graph 8.2 and Unity engine 2020.1. I followed the step correctly but it didnt show, is there a way I can fix this?
@ABitOfGameDev3 жыл бұрын
Im not sure at what step did you encounter the problem? Anyway in such cases its usualy some settings in unity, check the Render Pipeline Asset settings and make sure you have the depth and opaque texture checked. If its not that please post a time stamp where you encountered the issue
@rrrrrrredpineapple69582 жыл бұрын
Try increasing DistortionStrenght to 3000.
@neinxxl14403 жыл бұрын
Cool
@XboxPlayerPL3 жыл бұрын
Does it work with character meshes as well?
@ABitOfGameDev3 жыл бұрын
I believe it will :D
@isabeltiange750511 ай бұрын
I came across your Bubble Shield video on KZbin recently and it was gorgeous! Thank you for creating such great content. Most of the steps worked for me (I'm using Unity 2020.3.2f1), but I'm encountering a problem where the Position Gradient and Smoothstep for the Dissolve effect didn't seem to work, so instead of the dissolve going from top to bottom, it still seems to be applied to the entire sphere. The material preview seems to be right, but in the scene, the dissolve is covering the whole sphere regardless - plus it also seems to be affected by the subdivisions of the sphere. Would you be happy to give me some pointers about what could have been wrong? Thank you so much for your kind help!
@me_owe_ski2 жыл бұрын
I like to imagine that I don't understand what's happening and its one of those "every programming tutorial ever" videos. 1st: create a text file 2nd: paste this 1000050000 lines of code 3rd: .... 4th: profit lol
@bullett55893 жыл бұрын
Nice video, can you show us how to set an enemy that is firing to this shield
@ABitOfGameDev3 жыл бұрын
Im just instancing projectiles from random points, the only thing interesting is at the end of the clip, the projectile script. Other than that everything else is pretty standard.