Common VFX Shader Techniques ft. Godot

  Рет қаралды 54,950

onetupthree

onetupthree

Күн бұрын

Пікірлер: 147
@onetupthree
@onetupthree Жыл бұрын
update! WhtLotus (discord: whtlotus) very kindly made a visual shader version of the project from this video 🥳 It's also up for free in my latest Patreon post (along with some life updates) Cheers everyone! 🥂
@DevLogLogan
@DevLogLogan Жыл бұрын
Community definitely needs more great VFX/Shader centric content like this! Great stuff!! ^^
@onetupthree
@onetupthree Жыл бұрын
thank you so much! 🙇‍♂🙌
@PrecisionRender
@PrecisionRender Жыл бұрын
This channel is a hidden gem. I hope this knowledge reaches a large audience!
@onetupthree
@onetupthree Жыл бұрын
thank you so much 🙇‍♂
@LisaDaugesVFX
@LisaDaugesVFX Жыл бұрын
Absolute banger of a video !! I learned a lot and it made shader programming not as scary as it used to be !!
@onetupthree
@onetupthree Жыл бұрын
thank you ! 🙇‍♂ i hated writing shaders in unity 😭 godot's is way easier to approach + so well documented it's crazy
@Rankao
@Rankao Жыл бұрын
I think you finally got VFX shaders to click for me. I haven't come across anything where people broke it down into atomic effects before so it makes a lot more sense.
@onetupthree
@onetupthree Жыл бұрын
that's great to hear ! good luck w/your VFX 🥳
@PureAsbestos
@PureAsbestos Жыл бұрын
1:40 you can also write UV.x and UV.y which would be more semantically accurate
@onetupthree
@onetupthree Жыл бұрын
yes 🤔
@Nilski
@Nilski Жыл бұрын
YES! Been looking for high quality Godot VFX content. Very appreciated!
@onetupthree
@onetupthree Жыл бұрын
thank you for the kind words ! 🙌
@godotShaderBoy
@godotShaderBoy 8 ай бұрын
Cool to see we share the same passion about shaders, keep it up!
@onetupthree
@onetupthree 8 ай бұрын
thanks ! 🙇‍♂️
@artemouse4133
@artemouse4133 Жыл бұрын
You've saved my life thank you so much! I'll need to do some tooling around with this info to suit what I'm trying to do but this has been incredibly helpful.
@onetupthree
@onetupthree Жыл бұрын
that's awesome ! good luck with the tooling 👌
@Wo0dY101
@Wo0dY101 Жыл бұрын
Take my subscription! Damn that was well explained. You made some stuff click that I have been trying to understand for a while now.
@onetupthree
@onetupthree Жыл бұрын
thank you so much ! glad i could help out 🥳
@jijigri9224
@jijigri9224 Жыл бұрын
Great video! We definitely need more Godot VFX tutorials!
@onetupthree
@onetupthree Жыл бұрын
thank you so much!
@daniridao
@daniridao Жыл бұрын
wow wow wow, stop for a second. What is this channel and why didn't I know of it already? FOLLOWED!
@onetupthree
@onetupthree Жыл бұрын
very kind of you to say 🙇‍♂️ thank you!
@WiseNoodleOfficial
@WiseNoodleOfficial 10 ай бұрын
Very well explained good sir! You've earned yourself another sub :)
@onetupthree
@onetupthree 10 ай бұрын
thank you so much ! 🙌
@ShinSpiegel
@ShinSpiegel 10 ай бұрын
This is an amazing video, thanks for sharing.
@onetupthree
@onetupthree 10 ай бұрын
thank you ! :D
@baoinh2968
@baoinh2968 Жыл бұрын
These tips are really useful
@onetupthree
@onetupthree Жыл бұрын
glad they were helpful ! :D
@AgriasOaks99
@AgriasOaks99 Жыл бұрын
Whoah! We need more things like this, Sensei! ☝️
@onetupthree
@onetupthree Жыл бұрын
i'll do my best 🙇‍♂
@snaker90
@snaker90 Жыл бұрын
Wow, this's exactly what I need!
@onetupthree
@onetupthree Жыл бұрын
glad to hear it ! 🥳
@bjarkibjarkibjarki
@bjarkibjarkibjarki Жыл бұрын
thx for the subtitles i appreciate it
@onetupthree
@onetupthree Жыл бұрын
of course! 👀 we gotta have em 👌
@vejroniottan-n9s
@vejroniottan-n9s 11 ай бұрын
This was fantastic - thanks!
@onetupthree
@onetupthree 11 ай бұрын
thank you ! 😄
@SuperMario9080
@SuperMario9080 Жыл бұрын
I love this, thanks for the video!
@onetupthree
@onetupthree Жыл бұрын
thank you so much ! im glad you liked it 🥳
@bencepaul3497
@bencepaul3497 Жыл бұрын
Great examples!
@onetupthree
@onetupthree Жыл бұрын
thank you so much ! :D
@AnotherByteData
@AnotherByteData Жыл бұрын
Really good and easy to understand! Kudos!!!!
@onetupthree
@onetupthree Жыл бұрын
thank you :D glad it was helpful !
@lkasikakalus123
@lkasikakalus123 3 ай бұрын
i wonder if you can make video about basic shader work. like how to work/calculate uv and vertex
@SirPigeonz
@SirPigeonz Жыл бұрын
Amazing tutorial bro!
@onetupthree
@onetupthree Жыл бұрын
eyy thank you ! 🙌
@HoodieCatGameDev
@HoodieCatGameDev Жыл бұрын
Thank you, this is very helpful!
@onetupthree
@onetupthree Жыл бұрын
thank you! im glad to hear that 🙌
@pipeliner8969
@pipeliner8969 11 ай бұрын
I am addicted to Godot videos lol
@Archeia
@Archeia Жыл бұрын
I learned a lot with this! Thank you :3
@onetupthree
@onetupthree Жыл бұрын
im glad it helped ! 🙌
@Nayckron
@Nayckron Жыл бұрын
I can see the channel exploding in views in the future, videos like this are bangers, keep it up.
@onetupthree
@onetupthree Жыл бұрын
thank you so much for the kind words ! 🙏
@GameDevGeeks
@GameDevGeeks Жыл бұрын
insanely informative video!
@onetupthree
@onetupthree Жыл бұрын
thank you ! im glad it was helpful 🙌
@godofdream9112
@godofdream9112 Жыл бұрын
Finnally, some VFX on Godot...
@onetupthree
@onetupthree Жыл бұрын
all thanks to a certain other engine's shenanigans 👀
@doohp
@doohp Жыл бұрын
banger video made me switch to godot
@onetupthree
@onetupthree Жыл бұрын
eyy i appreciate it man 😭🙏
@viniciusantonio2253
@viniciusantonio2253 Жыл бұрын
so I basically need to add techniques on top of techniques?... for example, to make a 2d top-down clouds shaders I just adds erosion on top of tilling a nois texture?
@onetupthree
@onetupthree Жыл бұрын
yes :D i haven't tried personally but that could be one way to do it ! you could also even try layering noises on top of each other with different offset speeds so it doesn't look too uniform 🤔
@viniciusantonio2253
@viniciusantonio2253 Жыл бұрын
@@onetupthree Thanks for the insight! Your videos got me into shaders, but I found it quite difficult to glue math with visuals, but one day I'll wrap my head around it :)
@onetupthree
@onetupthree Жыл бұрын
@@viniciusantonio2253 you got this 😤🙏 if you have any questions feel free to ask here !
@flintpisser
@flintpisser 2 ай бұрын
How can I apply say the distortion effect to a triplanar texture? pls help thnx
@onetupthree
@onetupthree 2 ай бұрын
since triplanar relies on position (either local or world), distortion would mean you need to offset the position e.g. via noise and use that instead to sample for the triplanar effect
@danielsndgamevideos
@danielsndgamevideos Жыл бұрын
Great info! Thank you for the video, if I may ask, in a future video can the background music be less distracting? Made it hard to focus on the voice/explanation in some parts, otherwise great video ^^ thanks again.
@onetupthree
@onetupthree Жыл бұрын
thank you ! and gotcha on the background music 👌
@xdanic3
@xdanic3 6 ай бұрын
Polar coordinates is a bit unintuituve until you know atan is a function used for everything, if you want to get the direction of your joystick controller, you use atan(2) as well. However the erosion shader is quite unintuituve, feels like those off by one errors when programing, and I don't think if programing languages arrays started at 1 would be easier either, sadly
@paegr
@paegr 10 ай бұрын
For the Distortion shader, is there a way to make it so that increasing distortion_intensity doesn't move the albedo_tex away from the center?
@onetupthree
@onetupthree 10 ай бұрын
hi ! you can add a -0.5 to the float noise_tex i showed in the video 👌this just remaps the noise value from (0 -> 1) to (-0.5 -> 0.5) code: float noise_tex = texture(noise, noise_uv).r - 0.5;
@paegr
@paegr 10 ай бұрын
@@onetupthree That fixed it, thanks!
@pythonixed4448
@pythonixed4448 5 ай бұрын
Could you implement an open ocio lut as a shader? I use Linear values for film vfx. If my sprites were 16k Lin images could a shader act as a 2D lut on the whole screen?
@harmonichaoticart
@harmonichaoticart Ай бұрын
Instant sebastian vibes
@onetupthree
@onetupthree Ай бұрын
@@harmonichaoticart is sebastian pog
@harmonichaoticart
@harmonichaoticart Ай бұрын
@onetupthree sebastian lague is pog asf
@pietraderdetective8953
@pietraderdetective8953 Жыл бұрын
wow this is great content! would be awesome if your turn this into a series. Liked and subscribed!
@onetupthree
@onetupthree Жыл бұрын
thank you so much ! 🥳 i do have a couple more shaders i use but I want to understand them enough first before i can make a video about those the next videos will be breakdowns of the last 2 godot vfx i made 🙇‍♂
@thygrrr
@thygrrr Жыл бұрын
That was pretty good ^^
@onetupthree
@onetupthree Жыл бұрын
thank you so much ! :D
@DylanCalaf
@DylanCalaf 6 ай бұрын
is it just me or is this video above average good? Edit: you just earned a subscriber
@onetupthree
@onetupthree 6 ай бұрын
i appreciate it a lot 🙏
@mistouluf8518
@mistouluf8518 9 ай бұрын
what is texture_albedo for "mask" shader ?
@onetupthree
@onetupthree 8 ай бұрын
hi! :) that's just a sampler2d in the video, it was the godot logo
@mistouluf8518
@mistouluf8518 8 ай бұрын
@@onetupthree The code still doesn't work, what declaration for ALBEDO & albedo & ALPHA? in godo 4
@onetupthree
@onetupthree 8 ай бұрын
@@mistouluf8518 the source code is up in my patreon for free if you want to check it out :)
@mistouluf8518
@mistouluf8518 8 ай бұрын
Thank you, but I still can't solve certain problems. In 2D with tilemap I would like to use clip children but it doesn't work. Would you like to create a shader?@@onetupthree
@veecks
@veecks 11 ай бұрын
Great video, but i think the distortion part was kinda rushed, but well i am a begginer in shaders
@ThisIsFez
@ThisIsFez Жыл бұрын
please how do i make this work for canvas and not spatial. specifically the diagonal offset animation. total noob here
@onetupthree
@onetupthree Жыл бұрын
hi ! if you mean the polar coordinates, if you follow the steps to get the polar UVs it should also work for CanvasItem shaders 🤔 can you try this line after calculating for polar_uv? COLOR = texture(TEXTURE, polar_uv); TEXTURE is the dedicated texture variable for canvas items when a texture is assigned in a control node :D make sure to set Repeat as Enabled 👌 hope this helps !
@ThisIsFez
@ThisIsFez Жыл бұрын
@@onetupthree sorry for not being clear. For the first demo you showed, I wanted just an offset animation with a sprite with no tiling for cavas item. Thanks
@onetupthree
@onetupthree Жыл бұрын
@@ThisIsFez normal offset will also work for CanvasItem :O with the same COLOR = texture(TEXTURE, base_uv) if that still isn't what you need, might be better if we talk on discord if you want :D you can shoot me an email of your username so I can add you :)
@kobedev
@kobedev 11 ай бұрын
Do you know if there is a way to do an effect similar to the galaxy skin from fortnite (idk how else to explain it lmao)
@onetupthree
@onetupthree 11 ай бұрын
havent tried making that but I imagine it has something to do with screen-space UVs 🤔 you can search it up on google images to see what i mean sample with screen-space UVs on a separate scene with your galaxy environment
@onetupthree
@onetupthree 11 ай бұрын
to add to the last part i imagine you put the galaxy on something like unity's render texture and sample from that
@sergodobro2569
@sergodobro2569 4 ай бұрын
Cool video!
@xxidbr9
@xxidbr9 Жыл бұрын
ah finaly godot 🎉
@onetupthree
@onetupthree Жыл бұрын
godot is pog
@apoc519
@apoc519 Жыл бұрын
How is the visual shader editor in Gadot?
@onetupthree
@onetupthree Жыл бұрын
haven't tried it so im afraid I can't help with that one yet 😰
@TheLogicalFounder
@TheLogicalFounder 4 ай бұрын
Can these shaders be applied on a color rect?
@onetupthree
@onetupthree 4 ай бұрын
yes but you need to adjust them for the CanvasItem shader type :) the math should be about the same
@scribblingjoe
@scribblingjoe Жыл бұрын
At the time I’m watching this video upload time says “3d ago”. I thought that was cool. Just wanted to share.
@onetupthree
@onetupthree Жыл бұрын
that IS cool 👀
Жыл бұрын
Super Tut in Shader
@onetupthree
@onetupthree Жыл бұрын
thank you! 🙏
@sinlee6064
@sinlee6064 Жыл бұрын
how to put it to 2D Sprite or MeshInstance2D? that is sooo cool !! Thank for your toturial!
@onetupthree
@onetupthree Жыл бұрын
hi ! thanks for the kind words 🙇‍♂ for 2D sprites it should be around the same but you're working with the 'canvas_item' shader_type as opposed to the 'spatial' type ALBEDO built_in would be replaced with COLOR and to access the texture you set in the Sprite2D Inspector, you use TEXTURE using the tiling and offset as example --- A. spatial uniform sampler2D your_custom_texture; uniform vec2 tiling; uniform vec2 offset; void vertex() { UV = UV * tiling + offset; } void fragment() { ALBEDO = texture(your_custom_texture, UV); } B. canvas_item uniform vec2 tiling; uniform vec2 offset; void vertex() { UV = UV * tiling + offset; } void fragment() { COLOR = texture(TEXTURE, UV); // TEXTURE from inspector value } --- there might be some mistakes in the code here but hopefully gets the point across ! :D hope this helps
@sinlee6064
@sinlee6064 Жыл бұрын
@@onetupthree Thank you!!!it's making my life easier ,your toturial is so useful,Thank again!
@onetupthree
@onetupthree Жыл бұрын
@@sinlee6064 no prob ! glad i could help 😤👌
@simonw.1223
@simonw.1223 Жыл бұрын
How do I know all the different stuff
@onetupthree
@onetupthree Жыл бұрын
sorry not sure what you meant by that :O which other stuff?
@simonw.1223
@simonw.1223 Жыл бұрын
@@onetupthree like the whole shader language.
@onetupthree
@onetupthree Жыл бұрын
@@simonw.1223 im afraid you won't find em here 😰 Godot uses GLSL if I remember correctly
@simonw.1223
@simonw.1223 Жыл бұрын
@@onetupthree what is GLSL?
@onetupthree
@onetupthree Жыл бұрын
@@simonw.1223 it's short for OpenGL Shading Language :D can't say much about it tho because I haven't used it outside of Godot and VFX so I learn about it on the fly im sure there are lots of tutorials about there about it 🤔
@PunCala
@PunCala Жыл бұрын
Could you please make a tutorial on how to do cloud shadows with a shader? For a 2D pixel art game as well as 3D.
@onetupthree
@onetupthree Жыл бұрын
not sure what you mean exactly but if you're talking about raymarching then cant help much bc I also gotta learn that 🤣😰
@PunCala
@PunCala Жыл бұрын
@@onetupthree Cloud shadows shader is the one where the clouds cast moving shadows on the ground. Another very needed shader is the god rays shader.
@timaster18885
@timaster18885 Жыл бұрын
very good video
@onetupthree
@onetupthree Жыл бұрын
thank you! 🙌
@CristianAvellino
@CristianAvellino Жыл бұрын
thanks
@onetupthree
@onetupthree Жыл бұрын
thank u 😎
@tangoconcorazon1861
@tangoconcorazon1861 10 ай бұрын
Bro writes 20 lines of code, talks about 2 and leaves us completely lost lol
@onetupthree
@onetupthree 10 ай бұрын
bro writes a comment like this and expects me to know how to help 💀💀💀
@Bread-qz3ht
@Bread-qz3ht 8 ай бұрын
@@onetupthreenice tutorial, but how do you do erosion in particle effects?
@eivisch
@eivisch Жыл бұрын
this video is very good if you can make things from theory into something real, sadly its not me
@onetupthree
@onetupthree Жыл бұрын
heyy we all learn differently and that's ok! i believe in you :D
@veecks
@veecks 11 ай бұрын
I did not get what the fuck is happening in distortion. I could make it work but how exactly is the noise defining the uv coordinates in the main texture
@onetupthree
@onetupthree 11 ай бұрын
yo let's calm down a bit 😭 the base UVs are laid out as values that go from 0 to 1 from the upper left to the bottom right (as seen in 3:40) adding noise to the base UVs will offset our 0 to 1 values (and everything in between) by a little bit so when our texture is mapped to the modified UVs, it'll appear distorted if it still isn't clear you can DM me on twt and i can explain further with pictures :O
@veecks
@veecks 11 ай бұрын
@@onetupthree hey bro, thank u. After some tweaking I could kinda of figure this out! Yet it is kinda strange at first. Your explanation now is nice to close it all too, thanks!
@onetupthree
@onetupthree 11 ай бұрын
@@veecks no problem ! that's great to hear :D
@luskarian
@luskarian Жыл бұрын
I love you so much
@onetupthree
@onetupthree Жыл бұрын
glad i could help 🙇‍♂
@zzzzzzzzzzzzzzzzzzzzzzzzzzzz__
@zzzzzzzzzzzzzzzzzzzzzzzzzzzz__ Жыл бұрын
MOOOOREEEEE
@onetupthree
@onetupthree Жыл бұрын
hopefully soon 🙌
@Shiromaru.
@Shiromaru. 9 ай бұрын
epic!
@schmecklin377
@schmecklin377 Жыл бұрын
awesome
@onetupthree
@onetupthree Жыл бұрын
thank you ! :D
@baron523
@baron523 Жыл бұрын
Excellent information. No jazz please.
@onetupthree
@onetupthree Жыл бұрын
thank you 🙌 but i do be liking some kind of music in the background 🤔
@youranonymousyoutuber4051
@youranonymousyoutuber4051 Жыл бұрын
u need to make a bigger video man
@onetupthree
@onetupthree Жыл бұрын
i try to keep my videos brief 🙇‍♂️
@Boildroid
@Boildroid Жыл бұрын
Please do not stop making videos
@onetupthree
@onetupthree Жыл бұрын
and i'll do my best 😤👌
@Boildroid
@Boildroid Жыл бұрын
thanks a lot!
@onetupthree
@onetupthree Жыл бұрын
glad to help ! 🙇‍♂
Make SIMPLE and QUICK HTTP Requests in Godot
0:52
Pandora Box
Рет қаралды 107
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
I recreated Balatro's effects in Godot
8:04
MrElipteach
Рет қаралды 47 М.
MORE VFX Shader Techniques ft. Godot
8:43
onetupthree
Рет қаралды 29 М.
An introduction to Shader Art Coding
22:40
kishimisu
Рет қаралды 1 МЛН
How I make my VFX in Godot
9:25
Aarimous
Рет қаралды 9 М.
Godot 3D Spatial Shaders: Getting Started
6:57
jitspoe
Рет қаралды 35 М.
Making Effects with Godot Visual Shaders
18:15
Daniel Ilett
Рет қаралды 23 М.
How I Made Palette Pixel Shader From Scratch in Godot
9:58
DeveloperEzra
Рет қаралды 10 М.
The Environmental Impact of VFX
11:17
onetupthree
Рет қаралды 11 М.
Godot Engine - 2024 Showreel
5:25
Godot Engine
Рет қаралды 97 М.
5 Golden Rules of Game Cards Graphic Design You MUST OBEY
11:27
Dave Jeltema
Рет қаралды 164 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН