Godot 4: Night vision shader (tutorial)
18:25
Godot 4: Emboss shader (tutorial)
12:15
Пікірлер
@mrdixioner
@mrdixioner 23 сағат бұрын
Oh, that was great! The result is very beautiful! Thank you very much!!!
@FencerDevLog
@FencerDevLog 22 сағат бұрын
Yes, that's true. It would be more logical to use UV instead of SCREEN_UV.
@mrdixioner
@mrdixioner 23 сағат бұрын
Thanks a lot!
@FencerDevLog
@FencerDevLog 22 сағат бұрын
Glad to be helpful.
@soran2290
@soran2290 Күн бұрын
Add more zoom please
@FencerDevLog
@FencerDevLog Күн бұрын
Well, I cannot change the already posted video. But newer ones have more zoom.
@johnhansen4794
@johnhansen4794 Күн бұрын
Thanks again for another excellent tutorial.
@FencerDevLog
@FencerDevLog Күн бұрын
Glad you liked it. 😎
@vonbluhm7201
@vonbluhm7201 Күн бұрын
Are there typos at shader:29 and :30 ? 29: float sb = (1.0 - s) * luminance.g; 30: float sg = (1.0 - s) * luminance.b; I can't help thinking that they should be 29: float sg = (1.0 - s) * luminance.g; 30: float sb = (1.0 - s) * luminance.b; Feel free to correct me.
@FencerDevLog
@FencerDevLog Күн бұрын
Yes, you are right. Thanks for finding that!
@mrdixioner
@mrdixioner Күн бұрын
Thanks a lot!!! More videos about shaders please!
@FencerDevLog
@FencerDevLog Күн бұрын
You are welcome. I will definitely add more.
@flailmusic
@flailmusic 2 күн бұрын
Excellent video as usual, thank you. Would love it if you would make it a video about Ray Marching and maybe ray marching with fractals!
@FencerDevLog
@FencerDevLog 2 күн бұрын
Thanks! Yes, I definitely want to record something about raymarching. It's a fascinating technique.
@TLpeety
@TLpeety 4 күн бұрын
*how to add fog to shitty ai gen images ....
@FencerDevLog
@FencerDevLog 4 күн бұрын
Nice to meet you too. 😀
@TLpeety
@TLpeety 3 күн бұрын
@@FencerDevLog do better
@Kay-eh8lm
@Kay-eh8lm 5 күн бұрын
awesome :) how could you make this work to filter the game in real time through the camera? like not modulating a still image as in your example, but a filter over everything. I guess "post processing" stuff is what I'm looking for but not sure
@FencerDevLog
@FencerDevLog 5 күн бұрын
Thanks! 😎 I suppose you can use the screen-reading texture to filter over everything. Check out the CRT monitor effect video: kzbin.info/www/bejne/j17RnZiemNVpjdU
@FencerDevLog
@FencerDevLog 6 күн бұрын
www.patreon.com/FencerDevLog I went through the entire tutorial again and took notes on how many details could be done better or more efficiently. You can find them on my Patreon. And thank you for watching. 😎
@FencerDevLog
@FencerDevLog 7 күн бұрын
www.patreon.com/FencerDevLog I went through the entire tutorial again and took notes on how many details could be done better or more efficiently. You can find them on my Patreon. And thank you for watching. 😎
@jsongeredu2995
@jsongeredu2995 7 күн бұрын
fantastic video. Quick question.... How could I make this tunnel shader look like I am turning around a bend? I imagine to spin I would just rotate the color rect but if I could make it look like the tunnel bends that would be awesome
@FencerDevLog
@FencerDevLog 7 күн бұрын
Thanks for watching! Actually, a bending tunnel is a great idea for one of the next videos. I will think it over.
@ignaciodangelo6385
@ignaciodangelo6385 8 күн бұрын
Great Video! i am actually using it at the moment , but i would like to set that snapshot as the texture of a Sprite2D but i am not able to do it. Do you have any advice on how to approach it ?
@FencerDevLog
@FencerDevLog 7 күн бұрын
Thanks for watching! I suppose you can set the "texture" property of your Sprite2D node in GDScript using the "load" function to access the stored screenshot. Something like sprite2D.texture = load("user://path/to/screenshot.png"). But I never tried that myself. Check out the second half of this video: kzbin.info/www/bejne/emnGd4aNfraKpJI
@ignaciodangelo6385
@ignaciodangelo6385 6 күн бұрын
@@FencerDevLog thank you sir. It took me a long time but i figure out one has to transform an Image resource into ImageTexture resource before it can be used, to do so one has to use method .create_from_image(). I just put the code below for anyone who may wonder in the future func _take_screenshot(): await RenderingServer.frame_post_draw var viewport_texture: Image = get_viewport().get_texture().get_image() var new_image_texture := ImageTexture.create_from_image(viewport_texture) sprite2D.texture = new_image_texture
@kurtisgibson2929
@kurtisgibson2929 8 күн бұрын
This is fantastic thank you very much! The styling is very cool so i may use it too much haha
@FencerDevLog
@FencerDevLog 8 күн бұрын
Glad you liked it. 😎
@sziklamester1244
@sziklamester1244 8 күн бұрын
I am stuck at the last part of the video when adding the material. For me all the menu is a bit weird (latest version of blender). Also i skipped one step on adding material instead made one adjustment in the shaders to add a metallic color to the ship.
@FencerDevLog
@FencerDevLog 7 күн бұрын
Hello! I didn't check the tutorial with Blender 4.2 yet. I'll do it ASAP and publish the result on my Patreon.
@flaviopsilva_
@flaviopsilva_ 8 күн бұрын
Thx for the video
@FencerDevLog
@FencerDevLog 8 күн бұрын
Glad to help. 😎
@pie19988
@pie19988 8 күн бұрын
Thank you very much for the help!
@FencerDevLog
@FencerDevLog 8 күн бұрын
Anytime! 😎
@saintadel8902
@saintadel8902 9 күн бұрын
really amazing!
@FencerDevLog
@FencerDevLog 8 күн бұрын
Thank you!
@rumariomusic
@rumariomusic 9 күн бұрын
Great video, like always 👍
@FencerDevLog
@FencerDevLog 8 күн бұрын
Thanks a lot!
@trovestove6886
@trovestove6886 11 күн бұрын
Please help me i dont know how to interact with shader materials in the Gdscript , i will be greatful for your help!
@FencerDevLog
@FencerDevLog 10 күн бұрын
It's very simple. Check out, for instance, this video where I set the shader parameters in GDScript. Godot 4: Sand pouring shader (quick tutorial) kzbin.info/www/bejne/p3qYnX-raq2Xg68
@RuptimusPrime
@RuptimusPrime 12 күн бұрын
Thank you for this, really great and easy to follow. One question though - if I wanted the background to be transparent instead of black, how would I go about doing that? EDIT: Maybe next time I should try myself before asking haha This method seems to work fine: void fragment() { vec2 uv = 2.0 * UV - 1.0; uv += 2.0 * fbm(uv + TIME * speed, octave_count) - 1.0; float dist = abs(uv.x); // If top to bottom vec3 color = effect_color * mix(0.0, 0.1, hash12(vec2(TIME))) / dist; COLOR = vec4(color, 1.0); if (COLOR.r < 1.0 && COLOR.g < 1.0 && COLOR.b < 1.0) { COLOR.a = 0.0; } }
@FencerDevLog
@FencerDevLog 12 күн бұрын
Yes, this is a good solution. 😎 I also mention it on my Patreon.
@BeastmanWatchUrMouth
@BeastmanWatchUrMouth 10 күн бұрын
Thanks for doing the work!
@longlivethesecondplaceice2736
@longlivethesecondplaceice2736 13 күн бұрын
Hi I have a question about my art style I want to make it uses 2d meshes made in blender and I wan to animated theme with lineart that change thicknesses by the animetion happening. In godot importing mesh animetion and tuxtuers is great but I have to make the lineart in godot. Chatgpt told me use vertex paint to animated the value of the vertexs to import the date to godot with the animetion. And I should use line2d and code the lineart with it. What am saying is. Should I make lineart with code or shader ? I want my game to look like moho 2d vectuer rigs but blender meshes don't come with strokes and I have to make them in godot itself.
@FencerDevLog
@FencerDevLog 12 күн бұрын
Well, both of them are possible. Line2D might be easier to code, a shader is probably faster as it runs on GPU. You better try both and see what is better for your use case. Check out my tutorial about lines in shades: Godot 4: Moving lines shader (tutorial) kzbin.info/www/bejne/ep_MpHmAZdiInMU
@johneicher6683
@johneicher6683 14 күн бұрын
Thank you for this.
@FencerDevLog
@FencerDevLog 13 күн бұрын
You are welcome!
@psychobarge5279
@psychobarge5279 15 күн бұрын
Very nice effect, thank you !
@FencerDevLog
@FencerDevLog 15 күн бұрын
Glad you liked it. 😎
@ethosaur
@ethosaur 15 күн бұрын
Do you think you could do a tutorial on how to make a 3D mirror shader? Thanks for all the videos.
@FencerDevLog
@FencerDevLog 15 күн бұрын
Sure, I will think about it
@user-ri6jw1oj2d
@user-ri6jw1oj2d 15 күн бұрын
Thank you!
@FencerDevLog
@FencerDevLog 15 күн бұрын
You are welcome!
@owonobrandon8747
@owonobrandon8747 15 күн бұрын
nice!
@FencerDevLog
@FencerDevLog 15 күн бұрын
Thank you!
@zambani
@zambani 16 күн бұрын
Awesome effect. Thx for the tutorial.
@FencerDevLog
@FencerDevLog 16 күн бұрын
You are welcome!
@khealer
@khealer 16 күн бұрын
Outstanding stuff, short and clear!
@FencerDevLog
@FencerDevLog 16 күн бұрын
Thank you. 😎
@meltytoast
@meltytoast 16 күн бұрын
this was super helpful, thank you !!
@FencerDevLog
@FencerDevLog 16 күн бұрын
Glad to help. 😎
@FencerDevLog
@FencerDevLog 18 күн бұрын
www.patreon.com/FencerDevLog I went through the entire tutorial again and took notes on how many details could be done better or more efficiently. You can find them on my Patreon. And thank you for watching. 😎
@cashewolddew
@cashewolddew 19 күн бұрын
You are my go-to youtuber for when I want to learn more about shaders. Thanks a lot for making these videos!
@FencerDevLog
@FencerDevLog 19 күн бұрын
I am delighted you liked them. 😎 I would like to release a new tutorial at least once a week.
@cashewolddew
@cashewolddew 19 күн бұрын
@@FencerDevLog I'm looking forward to it! 🥜
@FencerDevLog
@FencerDevLog 19 күн бұрын
@@cashewolddew 👍
@truenincillo805
@truenincillo805 20 күн бұрын
Please,🙏🙏 tutorial full, survival project game 2d godot🙏🙏
@FencerDevLog
@FencerDevLog 19 күн бұрын
That would be a huge project. 😎We'll see.
@FencerDevLog
@FencerDevLog 21 күн бұрын
Thank you for watching. 😎 Help support this channel: Patreon: www.patreon.com/FencerDevLog Gumroad: filiprachunek.gumroad.com KZbin Memberships: www.youtube.com/@FencerDevLog/join
@gezbob3508
@gezbob3508 22 күн бұрын
I learn lots from your shader videos. thanks!
@FencerDevLog
@FencerDevLog 22 күн бұрын
Hey, you are welcome! More videos to come. 😎
@FencerDevLog
@FencerDevLog 23 күн бұрын
www.patreon.com/FencerDevLog I went through the entire tutorial again and took notes on how many details could be done better or more efficiently. You can find them on my Patreon. And thank you for watching. 😎
@FencerDevLog
@FencerDevLog 23 күн бұрын
www.patreon.com/FencerDevLog I went through the entire tutorial again and took notes on how many details could be done better or more efficiently. You can find them on my Patreon. And thank you for watching. 😎
@toto1539
@toto1539 23 күн бұрын
very well made tutorial! Is there any way to make the script you displayed apply to the color of a UI node's "theme_override_style_panel". I am aware of the canvasItem's material section, but inserting the shader into that material slot simply overrides the panel's color, rather than adjusting it according to the shader settings. I am making a game entirely with UI nodes, so I'd be grateful for a response!
@FencerDevLog
@FencerDevLog 23 күн бұрын
Thanks for watching! I'm afraid that shaders don't work with themes and theme overrides, so something like that would probably be quite difficult. I'll try to think about it.
@rishabhjain7054
@rishabhjain7054 25 күн бұрын
@FencerDevLog Really helpful video. I would like to use this shader in my commercial project, but I could not find an MIT or GPL license. Is there any way to use this shader? Thanks!
@FencerDevLog
@FencerDevLog 25 күн бұрын
Thanks for watching! You can use this shader as you like. The license is CC0, so there are no restrictions.
@rishabhjain7054
@rishabhjain7054 25 күн бұрын
@@FencerDevLog Thank You!
@FencerDevLog
@FencerDevLog 25 күн бұрын
@@rishabhjain7054 You are welcome. Feel free to use any shaders from this channel.
@FencerDevLog
@FencerDevLog 25 күн бұрын
Thank you for watching. 😎 Help support this channel: Patreon: www.patreon.com/FencerDevLog Gumroad: filiprachunek.gumroad.com KZbin Memberships: www.youtube.com/@FencerDevLog/join
@rumariomusic
@rumariomusic 25 күн бұрын
You have to reload the saved tscn file. After that you can edit the materials.
@FencerDevLog
@FencerDevLog 25 күн бұрын
That's what I did at 12:40. Before that, there was no tscn scene yet.
@rumariomusic
@rumariomusic 25 күн бұрын
@@FencerDevLog But you created a scene at 09:56. And you have to reload that. After that the video is confusing. It is also better not to make the material unique it is better to extract the materials if you import the file
@vaughanmacegan4012
@vaughanmacegan4012 25 күн бұрын
Watched this out of curiosity but since you show us a little about Blender I'll think I'll watch a little more closely and download a copy of Blender. Thankyou!
@FencerDevLog
@FencerDevLog 25 күн бұрын
You are welcome. I plan to release more videos like this one.
@bebracrisp
@bebracrisp 25 күн бұрын
thanks you
@FencerDevLog
@FencerDevLog 25 күн бұрын
Glad you liked it!
@FencerDevLog
@FencerDevLog 26 күн бұрын
Thank you for watching. 😎 Help support this channel: Patreon: www.patreon.com/FencerDevLog Gumroad: filiprachunek.gumroad.com KZbin Memberships: www.youtube.com/@FencerDevLog/join
@countryball-orgn.
@countryball-orgn. 26 күн бұрын
😢😢😢😢why i create fire particle its visible but i create a mesh its invisible w😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢hy?
@FencerDevLog
@FencerDevLog 26 күн бұрын
That's hard to say, dude. If you publish your project on GitHub, I can take a look.
@johnhansen4794
@johnhansen4794 26 күн бұрын
If I think about it hard enough FencerDevLog will make a video about it. He is like the CGMatters of Godot Tutorials. Bravo! ☺
@FencerDevLog
@FencerDevLog 26 күн бұрын
Thank you! 😎
@FencerDevLog
@FencerDevLog 27 күн бұрын
www.patreon.com/FencerDevLog I went through the entire tutorial again and took notes on how many details could be done better or more efficiently. You can find them on my Patreon. And thank you for watching. 😎
@FencerDevLog
@FencerDevLog 28 күн бұрын
www.patreon.com/FencerDevLog I went through the entire tutorial again and took notes on how many details could be done better or more efficiently. You can find them on my Patreon. And thank you for watching. 😎
@FencerDevLog
@FencerDevLog 28 күн бұрын
www.patreon.com/FencerDevLog I went through the entire tutorial again and took notes on how many details could be done better or more efficiently. You can find them on my Patreon. And thank you for watching. 😎