The best tutorial I've seen about this topic. Thanks. 🎉
@nosdregamon4 жыл бұрын
I always thought, that CSG works only with non-moving nodes. Nice to see I'm wrong :)
@sigitsatriap65053 жыл бұрын
love it ! Thanks for share
@miusoft3 ай бұрын
Awesome ❤❤
@itsME-dc4vm3 жыл бұрын
nice thanks ;D
@mvolkankarakas2 жыл бұрын
super!!! thanks...
@andrewpozenel29314 жыл бұрын
Good as always, you should really do videos of visual shader programming in Godot and visual programming as oppose to GDScript
@b3daz4 жыл бұрын
Nice. :)
@nopens4 жыл бұрын
Hi. Im pretty new to godot and wanted to ask is the same possible for 2d sprites and tiles?
@ALRXM4 жыл бұрын
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.
@nopens4 жыл бұрын
@@ALRXM Thank you both for reply and giving a direction to look for.
@ALRXM4 жыл бұрын
@@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.
@nopens4 жыл бұрын
@@ALRXM thats great, thanks again for taking the time!
@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Ай бұрын
@@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Ай бұрын
@@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Ай бұрын
@@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.