Making Glitter in Shader Graph and URP

  Рет қаралды 47,745

Daniel Ilett

Daniel Ilett

Күн бұрын

Пікірлер: 58
@regular-user
@regular-user 9 ай бұрын
I really love your videos. You are very easy to understand and you try to make us understand the information behind all of it. Sometimes I just copy and paste nodes from tutorials because they just tell you, but don't explain why they are putting the nodes together. You actually explained why and what it will do.
@danielilett
@danielilett 9 ай бұрын
I do try and make things as clear as I can so I'm very glad you've learned a lot from my videos :D
@nilmour
@nilmour 3 жыл бұрын
came here from reddit. I'm surprised by the quality of the instructions and in detail information. subscribed for more content.
@slightlywetbaby830
@slightlywetbaby830 3 жыл бұрын
This.
@nolamo5
@nolamo5 2 жыл бұрын
THIS GUYS A REDDITOR
@nolamo5
@nolamo5 2 жыл бұрын
THIS GUYS A REDDITOR
@dasparadoxon
@dasparadoxon Жыл бұрын
This is how you make a clear and comprehensive tutorial ! :)
@aliengarden
@aliengarden Жыл бұрын
This channel is a certified banger.
@rhemmy333
@rhemmy333 2 жыл бұрын
Bless your kind soul! Your works are amazing - thank you for this and for your other tutorials as well! 🥰
@simon.in.motion
@simon.in.motion 9 ай бұрын
Thanks a lot for the tutorial, I used it in my game Hoverflow to make the sand glitter :)
@bluesheepminecraft
@bluesheepminecraft Жыл бұрын
I love your work! Would you ever make an updated version of this for HDRP? I've got the effect working in the material preview but there's no glitter when I apply it to a model in the scene
@MrBanana12344
@MrBanana12344 3 жыл бұрын
There is a space in the lighting window under the environment tab (I think) where you can put a material in for the skybox so you wouldn't need a sphere to make the night sky.
@ultmatepotato
@ultmatepotato 3 жыл бұрын
Yes but if you put this material on a sphere then you can make it rotate with code or the shader itself so your stars will move or you can make the stars blink when the game by multiplying the glitter with a moving gradient noise but the skybox is only a static image (or 6 depending on the skybox material you choose). The possibilitys are ENDLESS!!!
@JadenAllen
@JadenAllen Жыл бұрын
@@ultmatepotato you can do everything you just said using the skybox besides moving it with code. In URP you can use any material as a skybox so if you wanted it to rotate you could just change the materials property with code or have the time node do it for you. Either way works, also when using it as a skybox you cant use the skybox materials since this is a custom shader so its not applying it by a static image or cubemap, its directly applying the custom material as the skybox
@JadenAllen
@JadenAllen Жыл бұрын
just drag the material onto your sky in the editor or in the lighting panel apply the custom material as the skybox
@webtemp
@webtemp Жыл бұрын
This (for me) does NOT work in Unity 2022 (not an LTS). There are a lot of problems from the hue not moving if it's not set to Normalized to the Fresnel not begin added in the end etc. :( guess I'm downgrading to be able to do this.
@hide_ch
@hide_ch Жыл бұрын
キラキラ出来ました! Hueでノーマライズに変更したら無事に動いてくれました! とても参考になりましたありがとう!
@ASPER4Z
@ASPER4Z 3 жыл бұрын
this dude is a legend
@kaylamisstress4774
@kaylamisstress4774 2 жыл бұрын
I have a question! I'm using Unity 2019.4.3 and I'm trying to accomplish this shader! however when I get to the step at 2:44 "add 2 Float properties" I don't seem to have the option in the dropdown. My list starts with Vector 1 and so on. Does anyone have any idea what I can do to be able to add these? (I do have a "Precision: Float" header up next to the Save assets/Show in Project header.) Any ideas?
@danielilett
@danielilett 2 жыл бұрын
Good question - Float and Vector 1 properties are the same thing! They just renamed Vector 1 to Float sometime after Unity 2019.4.
@kaylamisstress4774
@kaylamisstress4774 2 жыл бұрын
@@danielilett thank you so much!!
@danielilett
@danielilett 2 жыл бұрын
No worries! It's quite hard to find information on some of these changes if you're not already aware of them.
@cc95g85
@cc95g85 3 жыл бұрын
Great!!Thanks for the amazing tutorial!!!👏🎊
@bluesheepminecraft
@bluesheepminecraft Жыл бұрын
In case anyone has the issue that I and others had in HDRP where the effect was working in the preview but not the scene, I found a solution. It's a bit of a compromise, but it worked for me and got the effect I wanted with sand glittering as the camera moves by: 1. Simply adding the base colour (or gradient if you still want it) to the final result of everything that was supposed to go into the emissions, and then plugging the result into the base colour fragment at the end. It doesn't get the HDR effect of the sparkles, but it gets white specks behaving as they should. 2. Ensure that the target object you're applying it to is UV unwrapped If anyone knows how to bring back the HDR effect on the glitter let me know
@shengwang-w3c
@shengwang-w3c Жыл бұрын
Thank you! Is it possible to set the background to transparent and only have the glitter on?
@ed_halley
@ed_halley Жыл бұрын
When you add nodes in a graph, it would be helpful to be zoomed in a little more so we can see the text on each node.
@__dane__
@__dane__ 3 жыл бұрын
I only realized yesterday that view direction is now normalized in URP 11 and above
@danielilett
@danielilett 3 жыл бұрын
Ooohhh that's good to know. URP 11 is on Unity 2021.1 right? I've not actually used that version yet so I'll keep that in mind. I'll probably still habitually use a Normalize node anyway.
@ultmatepotato
@ultmatepotato 3 жыл бұрын
@@danielilett well if you do consider you are in for a treat. Random errors everywhere, literally endless erorrs, memory leaks and ect!! Isn't that just what we like ^_^
@fess24
@fess24 3 жыл бұрын
Nice effect! Thank You Friend!
@sureshselvaraj9616
@sureshselvaraj9616 Жыл бұрын
How about Amp,lify shader variant ? I'm planning to have a skybox shader with Stars glitter , Moon texture(adjustable) , Clouds texture
@tilksamousse
@tilksamousse 2 жыл бұрын
For me the glitter doesn't move, the time node seem to don't work
@scribbles1440
@scribbles1440 2 жыл бұрын
Same!
@tilksamousse
@tilksamousse 2 жыл бұрын
@@scribbles1440 i found the solution you need to set the hue to normalize
@manecube
@manecube 6 ай бұрын
@@tilksamousse THANK YOU
@tilksamousse
@tilksamousse 6 ай бұрын
@@manecube no problem bro
@exactspace
@exactspace 2 жыл бұрын
This is so informative, but for some reason the glitter does not show up on my model, but it shows up on my preview inside Shader Graph. (I clicked Save Asset) The fresnel shows up though, and if I use a glitter offset less than 0, the entire model shows up as the glitter color. Inside Shader Graph, it's kind of of the opposite. If I use a glitter offset greater than 1, no glitter appears, which actually might make sense though.
@herpderp3916
@herpderp3916 2 жыл бұрын
I'm also having this problem.
@exactspace
@exactspace 2 жыл бұрын
@@herpderp3916 someone mentioned it could have been a negative number he typed that wasn’t made clear enough.
@bluesheepminecraft
@bluesheepminecraft Жыл бұрын
@@exactspaceSorry, I know this was a while ago but would you happen to know what the solution was? I've tried everything but having the same issue where it shows up in the preview box but not in the scene
@cyanos3
@cyanos3 Жыл бұрын
@@bluesheepminecraft For me, the scaling had to be (1,1) by default.
@bluesheepminecraft
@bluesheepminecraft Жыл бұрын
@@cyanos3 I think my issue came down to not UV unwrapping the models I was using. It didn't work on the generic unity sphere which I was using as a test and then failed on my own test meshes, until I UV unwrapped them
@WelshGuitarDude
@WelshGuitarDude 3 жыл бұрын
How might I make a shader that makes certain objects greyscale (any object could be subject to greyscale) without every object using a custom material which is painfully tedious
@RoboDK7
@RoboDK7 3 жыл бұрын
should be able to just turn the albedo grayscale
@onurgokdemir97
@onurgokdemir97 8 ай бұрын
bro ur best damnnn
@SomeBodyThatYouUsedToKnow303
@SomeBodyThatYouUsedToKnow303 2 жыл бұрын
Thanks man!
@FluffyYummi
@FluffyYummi 9 ай бұрын
how do i turn the shader into a unitypackage to use in any unity thing
@danielilett
@danielilett 9 ай бұрын
I think you should be able to just right-click the shader in the Project View and click Export Package, right?
@xr_xharprazoraxtra5428
@xr_xharprazoraxtra5428 Жыл бұрын
Just turned this into HLSL code and added it to my Kwazy Xhader 3.0 XD, GWITTERS~~~
@ibzystudios
@ibzystudios 2 жыл бұрын
Is anybody else getting the glitter intensity increase the closer the camera is to the object?
@isilozcelik
@isilozcelik Жыл бұрын
same, I had to manually adjust it depending on the size and the distance of the object. I tried making a multiplier based on the distance but couldn't.
@misterralexander
@misterralexander Жыл бұрын
I want the book
@yonatanabergel
@yonatanabergel 2 жыл бұрын
To everyone who have a problem with the particle size, Change the Noise Scale.
@misterralexander
@misterralexander Жыл бұрын
I can't get it to move u.u
@misterralexander
@misterralexander Жыл бұрын
the glitter doesn't sparkles x,x
@maxiaohuimaxiao
@maxiaohuimaxiao 2 жыл бұрын
效果太棒了!
@hybik
@hybik 3 жыл бұрын
:D
@TheVonWeasel
@TheVonWeasel 2 жыл бұрын
nobody tell Anakin about this
Decals & Stickers in Unity Shader Graph and URP
9:15
Daniel Ilett
Рет қаралды 30 М.
10 Shaders in 10 Minutes - Unity Shader Graph
9:38
Daniel Ilett
Рет қаралды 112 М.
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
"Идеальное" преступление
0:39
Кик Брейнс
Рет қаралды 1,4 МЛН
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
I Tried Re-creating Death Stranding Terrain Scan
18:46
Game Dev Buddies
Рет қаралды 165 М.
DISSOLVE using Unity Shader Graph
10:33
Brackeys
Рет қаралды 683 М.
Unity Universe Sphere Shader Tutorial
6:33
Licke
Рет қаралды 37 М.
Unity Shader Graph - Galaxy Shader Tutorial
16:00
Gabriel Aguiar Prod.
Рет қаралды 60 М.
Unity Shader Graph Basics (Part 1 - Your First Shader)
7:40
Daniel Ilett
Рет қаралды 70 М.
Holograms in Unity Shader Graph
4:17
Daniel Ilett
Рет қаралды 45 М.
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН