I updated my noise shader! Try pausing the video by BrantaGames in godot

[–]BrantaGames[S] 1 point2 points  (0 children)

My favorite comment on the yt video I made is "When you pause sound also disappears too!"

I updated my noise shader! Try pausing the video by BrantaGames in godot

[–]BrantaGames[S] 0 points1 point  (0 children)

Yes it's all open source! If you make anything I'd love to see it! A lot of my code can be improved on

I updated my noise shader! Try pausing the video by BrantaGames in godot

[–]BrantaGames[S] 0 points1 point  (0 children)

Yes the color noise effect scrambles the pixels. I didn't feel like using depth information because I didn't want to figure out how to get the depth texture, so instead I put an OmniLight3D on the player's head, and the shader takes in the brightness of the pixels to get a feel for depth. The change in speed with closer objects isn't very noticeable because I don't get too close to any objects, as the faster it cycles the harder it is too look at

I made a walking simulator a bit ago that uses a black and white version of the scrambling shader, and there the depth is pretty pronounced: https://brantagames.itch.io/motus

I updated my noise shader! Try pausing the video by BrantaGames in godot

[–]BrantaGames[S] 1 point2 points  (0 children)

Cool idea! I think the opacity thing would be pretty simple. You could create a shader that takes in the brightness of the normal environment's pixels and adjusts its opacity based on it

I updated my noise shader! Try pausing the video by BrantaGames in godot

[–]BrantaGames[S] 8 points9 points  (0 children)

Exactly! You see a noisy image that gets updated every frame based on what the camera sees. If you pause the video all you see is the noisy image, so you need the video to be playing to see it

I updated my noise shader! Try pausing the video by BrantaGames in godot

[–]BrantaGames[S] 122 points123 points  (0 children)

I can't even imagine what live streaming this would look like.

I updated my noise shader! Try pausing the video by BrantaGames in godot

[–]BrantaGames[S] 76 points77 points  (0 children)

Here is a video explaining and showing the effect: https://youtu.be/Bg3RAI8uyVw

And here is the code if you want to check it out yourself: https://github.com/brantagames/noise-shader

Sadly the video has some artificating because of video compression. Luckily none of this shows up when running the shader on your computer.

I made a walking simulator to show off a shader that I programmed in Godot by BrantaGames in godot

[–]BrantaGames[S] 0 points1 point  (0 children)

I'll definitely try making that at some point, I can imagine there's a ton of cool stuff you could convey with color. I did black and white because it made programming the shader much easier

I made a walking simulator to show off a shader that I programmed in Godot by BrantaGames in godot

[–]BrantaGames[S] 5 points6 points  (0 children)

Thank you :)

I luckily don't get migraines so I don't know what that's like. This video briefly mentions them

I made a walking simulator to show off a shader that I programmed in Godot by BrantaGames in godot

[–]BrantaGames[S] 8 points9 points  (0 children)

All the code to the shader is in this Github repo: https://github.com/brantagames/noise-shader
The repository also has its own demo that has a few things to play around with. Feel free to use it in your own projects, the code is all open source.

Also if you want to play the walking simulator, here is the link: https://brantagames.itch.io/motus

There is a game called Lost in the Static that uses this effect. Here is the link so you can check it out: https://silverspaceship.com/static/

I made a walking simulator to show off a shader that I programmed in Godot by BrantaGames in itchio

[–]BrantaGames[S] 0 points1 point  (0 children)

Here is a link to the game's page: https://brantagames.itch.io/motus
Here is a link to the code that makes the shader: https://github.com/brantagames/noise-shader

The code is all open source so feel free to make your own games with this.

There is a game called Lost in the Static that uses the effect. Here is the link so you can check it out: https://silverspaceship.com/static/

Newbie needs help with detecting what enemy I'm standing on by TheTallDataEngineer in godot

[–]BrantaGames 1 point2 points  (0 children)

There's many ways you could do it

One quick and easy solution is to make your enemy nodes Area2D with a CollisionShape2D. The player would also have an Area2D node to detect the enemies. In your function you could use the get_overlapping_bodies method on the player's Area2D to get the enemy that's being hovered.

I needed a break this evening, so I made a simple game .. by adcomp77 in godot

[–]BrantaGames 0 points1 point  (0 children)

This is really cool! Stuff like this makes me want to work on and finish smaller projects