How to make a techno black hole effect in Godot (Polar Coordinates Shader)

  Рет қаралды 6,949

Picster

Picster

Күн бұрын

Пікірлер: 28
@Mysda_
@Mysda_ Жыл бұрын
Amazing, happy to see you back!
@FencerDevLog
@FencerDevLog Жыл бұрын
I like the way you explain these things. The pace is just right to understand every detail without the need to rewind. More videos, please. 😎
@abeetoven
@abeetoven Жыл бұрын
great godot shaders content! no worries about the pause in content! quality over quantity!!
@Holonet01
@Holonet01 Жыл бұрын
This is, by far, the best tutorial to make HAL9000 I have ever seen. Awesome! 😁
@krzysztofswierzy4226
@krzysztofswierzy4226 Жыл бұрын
This is such a godsend ! I was just trying to achieve this like week ago and failed, and now this video comes right when I need it the most. Thanks !
@swordarmstudios6052
@swordarmstudios6052 Жыл бұрын
This is a fantastic shader. I can see all kinds of uses for this. It's amazing to me how so much complexity can come out of fairly simple shader math. The combinations of interesting things you can do is effectively infinite. The only thing that bugs me is that I get a weird border artifact. I tried removing mipmaps as suggested by the user below, but that doesn't work. Gonna see if I can add a fudge factor that just drops the UV if it's close to a border. Edit : Removing mipmap does work, but I think godot might have been doing some weird caching. I changed the image to something else, changed it back, and now it's artifact free. Very odd but I will take the win.
@dueddel
@dueddel Жыл бұрын
The Master of Shaders has spoken, I'd say. 😘👍 Following along with shader tutorials isn't too much of a problem, but honestly coming up with such stuff myself is just something which I am lacking something for. …I don't even know where these kinda pain points come from. I mean, I am a professional programmer for 20 years, I am developing things like web applications and server scripts for a living, but thinking in shader is a whole lot different to my day job apparently. Can be frustrating somehow. That's why for now I am only tinkering a bit with Visual Shaders in Godot, that's also a lot of fun and takes away some pain points that I still have with Shader script. However. I love to follow these kinds of videos, no matter I would have been able to do that on my own or not. Maybe I will some day. (Or maybe not, I wouldn't be too mad at me actually. The most important thing is to have fun with playing around with such stuff.) Thank you for your awesome tutorials and your great looking games! Keep up!
@picster
@picster Жыл бұрын
Thanks for the nice comment! Yes, working with shaders is a bit different than other code. Maybe I can try to come up with a video that tries to help with that "Shader Mindset". I suggest to think in layers when working on a shader. Try to break down an effect into all the small parts that it needs and work on each individually, then bring everything together.
@swordarmstudios6052
@swordarmstudios6052 Жыл бұрын
Shaders are more art than science - your brushes are geometry haha. No hard and fast rules I think , but programmers are basically trained to think in fundementals , but there is a certain fuzziness that needs to be applied to understand how to do shaders well. I'm only just learning myself - but I'm hooked. And videos like this only help. It never even occured to me to use like a radial texture. I saw a video on PlayWithFuficer that talked about using curves textures to control various things. So at some level you can do alot with shaders by some geometry/trig and using layered textures the way you would in photoshop.
@ColorauGuiyino
@ColorauGuiyino Жыл бұрын
Very useful, thank you very much for sharing.
@Chevifier
@Chevifier Жыл бұрын
Turn off mipmap on the texture to get rid of the weird line. I made that same polar coordinates system in my game recently. 😉 throw a sin(radius) function in there to get a swirl effect. I already know you have ideas where to use it😁
@Smorb42
@Smorb42 Жыл бұрын
this is great
@DjPerception91
@DjPerception91 Жыл бұрын
Muchas gracias! :>
@MateoTeos
@MateoTeos Жыл бұрын
As always, very clear and helpful. After your tuts, the UX designer in my face makes shaders for programmers, because they can not. What have you done! Cheers from Ukraine)
@evethedwarf
@evethedwarf Жыл бұрын
This looks great! :) Always wanted to get into shaders and I think I'll start here. Quick question though: How would you go about gathering textures for your shaders? Is there some sort of popular "starter pack" with a variety of textures or do you just gatrher them from various sites?
@picster
@picster Жыл бұрын
I make a lot of them myself and I have a repo on my GitHub with a collection of useful textures
@pmos_nmos
@pmos_nmos Жыл бұрын
New viewer here! Caught wind of you from a godot game jam video. Any tips or suggested resources for finding your way around shaders? Loving the content btw!
@NycroLP
@NycroLP Жыл бұрын
10:06 I followed the code 1:1 but the repeat and scale variable doesnt seem to work for. If it's bigger than 1 the texture gets smaller but doesnt repeat. I made it work by using a mod of 1 but I wonder what caused it.
@undertakerplayer4452
@undertakerplayer4452 7 ай бұрын
I have same problem as he had, and I was wondering if you could tell us how to fix the repeat and the angle
@theeox
@theeox 6 ай бұрын
To get repeat working, add :repeat_enable to the end of uniform sampler2D image_texture
@seppoday
@seppoday Жыл бұрын
It kinda sucks that in Godot 4 (beta6) I get different results. For example scroll_speed is not working :( It is animating for 0.5 sec when I start scene but not in an editor itself.
@picster
@picster Жыл бұрын
Godot 4 is not yet stable and in addition to that, some shaders will likely need changes to make them look the same or work in Godot 4.
@seppoday
@seppoday Жыл бұрын
@@picster Yea. I will try to learn a bit more about shaders and maybe I will find way to make it work in G4. Thanks for reply.
@seppoday
@seppoday Жыл бұрын
It is kinda weird but I reacreated it in 3.5.1 and it still is not animating in realtime. Maybe I've done something wrong. Will check. Edit: I think I've done everything identical and still no animation and only half of the shader is showing -> i.imgur.com/LJClm3E.png Edit2: Fck me I am stupid. I've read comments and thing that you explain at 14:30 is basically answer to my problem... It works great now (in 3.5.1). Sorry about that.
@thegameissimple
@thegameissimple Жыл бұрын
Is it Godot 3 or Godot 4?
@picster
@picster Жыл бұрын
This is Godot 3 👍
@realMenta
@realMenta Жыл бұрын
3.5.1 stable. You can check the version on the bottom right.
@silas4727
@silas4727 Жыл бұрын
𝚙𝚛𝚘𝚖𝚘𝚜𝚖
How Games Make VFX (Demonstrated in Godot 4)
5:46
PlayWithFurcifer
Рет қаралды 350 М.
The Strange Graphics Of LETHAL COMPANY
15:59
Acerola
Рет қаралды 883 М.
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 4 МЛН
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 20 МЛН
Зу-зу Күлпаш 2. Интернет мошенник
40:13
ASTANATV Movie
Рет қаралды 611 М.
Godot Effects Competition: Entries and Winners!
6:31
Picster
Рет қаралды 5 М.
NEW in 4.3! Minimum Stretch UV Unwrapping.
13:33
Christopher 3D
Рет қаралды 14 М.
How To Create A Dissolve Shader In Godot
3:35
Foxid
Рет қаралды 8 М.
How To Make a Computer Create Something Beautiful: String Art #SoMEpi
9:41
How I make my VFX in Godot
9:25
Aarimous
Рет қаралды 8 М.
Common VFX Shader Techniques ft. Godot
7:07
onetupthree
Рет қаралды 49 М.
How To Shader. (using Godot Engine)
7:28
PlayWithFurcifer
Рет қаралды 51 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,5 МЛН
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 4 МЛН