Godot Game Engine - 3 ways to fade objects.

  Рет қаралды 7,631

Alberto Luviano

Alberto Luviano

Күн бұрын

Пікірлер: 18
@kiyasuihito
@kiyasuihito 6 ай бұрын
The best tutorial I've seen about this topic. Thanks. 🎉
@nosdregamon
@nosdregamon 4 жыл бұрын
I always thought, that CSG works only with non-moving nodes. Nice to see I'm wrong :)
@sigitsatriap6505
@sigitsatriap6505 3 жыл бұрын
love it ! Thanks for share
@miusoft
@miusoft 3 ай бұрын
Awesome ❤❤
@itsME-dc4vm
@itsME-dc4vm 3 жыл бұрын
nice thanks ;D
@mvolkankarakas
@mvolkankarakas 2 жыл бұрын
super!!! thanks...
@andrewpozenel2931
@andrewpozenel2931 4 жыл бұрын
Good as always, you should really do videos of visual shader programming in Godot and visual programming as oppose to GDScript
@b3daz
@b3daz 4 жыл бұрын
Nice. :)
@nopens
@nopens 4 жыл бұрын
Hi. Im pretty new to godot and wanted to ask is the same possible for 2d sprites and tiles?
@ALRXM
@ALRXM 4 жыл бұрын
Hey!, I'm afraid not. Because methods 1 & 3 are dependant on the z axis, they don't have a 2D equivalent that I know of. So the only option left is writing a custom canvas item shader. Let me research a little more and I'll have a complete answer for you.
@nopens
@nopens 4 жыл бұрын
@@ALRXM Thank you both for reply and giving a direction to look for.
@ALRXM
@ALRXM 4 жыл бұрын
@@nopens hey, thank you. What I could find is a reference to Godot's Canvas Item Material documentation, but as I suspected, there is no similar option to fade objects with one click. I found this tutorial: kzbin.info/www/bejne/a2i4nHqEgptria8, which explains the basics of shader code. More helpful is the last example that recreates the distance fade effect, it may take you one step closer to the effect you are looking for.
@nopens
@nopens 4 жыл бұрын
@@ALRXM thats great, thanks again for taking the time!
@TheGrowll
@TheGrowll Ай бұрын
I still need a solution, about light, how we can make the wall invisible, but still block the light.. EDIT: For those in need, in godot 4.3.., on the inspector, after click on the mesh, inside GeometryInstance3D, you can find a slider called ''transparency" inside the tab "geometry", put it on 1, and let cast shadow "on", and thats it...
@ALRXM
@ALRXM Ай бұрын
@@TheGrowll maybe this could help: www.reddit.com/r/godot/comments/bc8sxo/light_masks_make_it_really_easy_to_hide/ If it's possible, fake it. From the top of my head I'd use a wall that is hidden from camera view that still blocks the light source in a convincing way.
@TheGrowll
@TheGrowll Ай бұрын
@@ALRXM what you said it's exactly what I'm trying to do now, I began to use the meshs from my game, so my idea its using a simple mesh to block the light, then one visual mesh being the wall, so I can turn visible and invisible when I need, right now I'm on a ship part, and the player must see the character inside the cabin, but the wall it's blocking, anyway, I will take a look, thank you for your reply, you have a pretty good tutorial, the second method almost solved for me, but i got some bugs from the light not properly functioning, so I'm still testing, Isaw your tutorial at every place I searched for, nice job, thanks for the help!
@ALRXM
@ALRXM Ай бұрын
@@TheGrowll Hey! I think I found something helpful. If you are using a MeshInstance3D, select it and go to Inspector > GeometryInstance3D > Geometry > Cast Shadow, select the option 'Shadows Only'. The shape will be invisible, but it will still cast a shadow.
@2nafish117
@2nafish117 4 жыл бұрын
So that's what CSG mesh is for
Godot - Palette Swap Shader
3:21
Alberto Luviano
Рет қаралды 8 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,1 МЛН
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 1 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 43 МЛН
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 62 МЛН
Tweens in Godot 4 Are Amazing!
16:27
Chaff Games
Рет қаралды 17 М.
How I Made a 3D Platformer in 2D Game Engine
21:23
ggenije
Рет қаралды 489 М.
Godot Smoke and mirrors part 3 - Rendering loads of objects
12:44
Bastiaan Olij
Рет қаралды 9 М.
Enemy AI Series 1: The State Machine
12:10
Garbaj
Рет қаралды 52 М.
GODOT TUTORIAL: Shockwave shader for noobs
15:48
Nolkaloid
Рет қаралды 52 М.
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 573 М.
Godot Shader Tutorial [Basics] in 7 minutes
7:47
Master Albert
Рет қаралды 94 М.
I Created My Own Custom 3D Graphics Engine
26:29
Inkbox
Рет қаралды 68 М.
Hiding texture repetition in Godot 4 | Tutorial
16:05
quwatz_
Рет қаралды 18 М.
How to use Multimeshes in Godot | Game Dev Tutorial 10
8:44
Dave the Dev
Рет қаралды 30 М.
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 1 МЛН