Cutout Transition Effect in Godot

  Рет қаралды 3,533

Cadoink

Cadoink

Жыл бұрын

Tutorial on how to create a cutout transition effect, sometimes seen in 3D platformers, using the Godot game engine.
This tutorial uses Godot 4, but the same shader can be used in Godot 3.
Music:
"Getting it Done" Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 4.0 License
creativecommons.org/licenses/b...

Пікірлер: 25
@lunarcanvasdev
@lunarcanvasdev 4 ай бұрын
If you're getting an error, replace "COLOR.a = 0f;" with "discard" Works for me.
@sporktank
@sporktank Жыл бұрын
Great video, well explained... exactly something I was looking for a couple months ago! 😊
@cadoink
@cadoink Жыл бұрын
SporkTank! I needed the effect too and found no resources. I figured it would be a useful video to make. :)
@sporktank
@sporktank Жыл бұрын
@@cadoink Haha funny you say that, I was thinking to make a video on it myself for practice!
@redwolf6334
@redwolf6334 3 ай бұрын
Thank you very much you are very good at making videos its really impressive
@projectavalongame
@projectavalongame Жыл бұрын
Thanks for this. I have been looking for how to do this for a while but had no idea how to even search for it lol. Shoutout to GameDev Journey for having this in one of their videos.
@cadoink
@cadoink Жыл бұрын
Glad I could help! When I was trying to figure out the effect I couldn't find any information online either, so once I figured it out, I thought it would be a good idea to put the information out there.
@luckyknot
@luckyknot 18 күн бұрын
Immediate subscribe! useful and to the point!
@salatah1224
@salatah1224 Жыл бұрын
Thanks bro💪
@Paruthi.618
@Paruthi.618 Жыл бұрын
cool tutorial.. thanks
@cadoink
@cadoink Жыл бұрын
Glad you enjoyed it! :)
@ld2studio675
@ld2studio675 Жыл бұрын
Thanks. Very interesting
@cadoink
@cadoink Жыл бұрын
Glad you enjoyed it!
@Khalyn12
@Khalyn12 Жыл бұрын
Cool video, writing specifically to have the youtube algoritihm work in your favor 🧙‍♂️👍
@cadoink
@cadoink Жыл бұрын
Haha thank you! Glad you enjoyed it. :) Hope to have some more tutorials soon!
@josmarpinheiro2589
@josmarpinheiro2589 Жыл бұрын
Top vídeo
@cadoink
@cadoink Жыл бұрын
Thank you!!
@Coralori
@Coralori 5 ай бұрын
How would you implement this to play upon clicking a button in a different scene (i.e. the code needed)?
@cadoink
@cadoink 4 ай бұрын
What I typically do is I have a main scene that contains two children, the scene with the button, and the cutout scene. The scene with the button will have an event that the main scene will listen for. When that event fires, the main scene will receive the event and tell the cutout scene to play the animation. I'll also typically have events for when the animations finish. So once the screen is completely black, I can clear out my scene with a button (typically my main menu), and add whatever scene I want to transition to. Then I call the cutout scene to fade back in.
@WeirdGoat
@WeirdGoat Жыл бұрын
Great work! Could you please make a video to tell us how to set and get shader parameters with C#? Thanks alot!
@cadoink
@cadoink Жыл бұрын
Thank you for the suggestion! I'll see if I can get a video made about that. :)
@WeirdGoat
@WeirdGoat Жыл бұрын
@@cadoink Happy to help. Sometime we need to switch from different shaders, or make a tween animation. And there are lots of shader you can find all over the internet, but how to use them properly is the problem. Like I got a water shader, how could I put a water pit in my Top-Down game, when character walk though it, it will show waves and reflection. There are really few tutorials that talking about it.
@cadoink
@cadoink Жыл бұрын
@@WeirdGoat Finally got some time to make a video about interacting with shaders and materials using .NET. I briefly cover a way to tween shader uniforms. kzbin.info/www/bejne/nnnMYmSCi7aVn9U&lc=UgwKnMY12akseUJhOUx4AaABAg I didn't cover waves and reflections for a character, but my suggestion would be to fake the effect rather than complicate the water shader. You could spawn a quad that has a water ripple texture under the character, or use particles. For the reflection, one common technique is to spawn a copy of the player or object upside down underneath the player with a material/shader that makes it look under water. There may some some tricks around using the water as a mask for that copy. Might look into it myself, could make a good video.
@WeirdGoat
@WeirdGoat Жыл бұрын
@@cadoink Thanks for the advise, and I'm gonna check your new video out!
@Zikes
@Zikes Жыл бұрын
When I try this in Godot v4.0.2 the sampler2d texture repeats at scales less than 1.0, even when I use repeat_disable in the shader uniform. Is this a recent bug, or am I missing something? UPDATE: I've tried this in 4.0.3-rc1 and it works as expected. It seems 4.0.2 had a bug and it has been resolved.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 3,9 МЛН
Fake Water Caustics Shader in Godot. GLES2 Compatible!
5:39
Cadoink
Рет қаралды 3,6 М.
Smart Sigma Kid #funny #sigma #comedy
00:26
CRAZY GREAPA
Рет қаралды 5 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 73 МЛН
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 8 МЛН
How to Create Menus and Scene Transitions in Godot 4 - Godot Fundamentals
34:23
4 Godot 4 Devs Make 4 Games in 44 Hours
25:19
DevLogLogan
Рет қаралды 493 М.
How To Make Cutscenes / Cinematics  - Godot 4.2 Tutorial
4:18
Crow Games
Рет қаралды 9 М.
How to make Scene Transitions in Godot 4
5:15
TheYellowDude
Рет қаралды 693
How to Change Scenes Smoothly in Godot 4
22:39
DevWorm
Рет қаралды 37 М.
Free AI - ADVANCED 3D Models From Images - Ready For Printing!
12:25
Fancy UI Transitions in Godot
13:16
Ombarus
Рет қаралды 17 М.
Turn any Image into 3D using AI! (ZoeDepth + After Effects)
14:48
How Games Make VFX (Demonstrated in Godot 4)
5:46
PlayWithFurcifer
Рет қаралды 326 М.
Transition Shader in Godot (tutorial)
13:09
GDQuest
Рет қаралды 39 М.
Smart Sigma Kid #funny #sigma #comedy
00:26
CRAZY GREAPA
Рет қаралды 5 МЛН