[-] HobbesHK@startrek.website 5 points 4 months ago

This worked perfectly - thank you!!

For anyone else looking here later, the final shader code (confirmed working Godot 4.2) is:

shader_type canvas_item;

uniform sampler2D screen_texture : hint_screen_texture;
uniform vec4 water_color : source_color;
uniform sampler2D wave_noise : repeat_enable;

void fragment() {
	vec2 water_wave = (texture(wave_noise, UV * TIME * 0.02).rg - 0.5) * 0.02;
	vec2 uv = vec2(SCREEN_UV.x , SCREEN_UV.y - UV.y) + water_wave;
	vec4 color = texture(screen_texture, uv);
	float mix_value = 1.0 - UV.y;

	float avg_color = (color.r + color.g + color.b) / 3.0;
	avg_color = pow(avg_color, 1.4);
	mix_value += avg_color;

	mix_value = clamp(mix_value, 0.0, 0.7);
	COLOR = vec4(mix(water_color, color, mix_value).rgb, texture(TEXTURE, UV).a);
}

Credits to Single-mindedRyan for creating this shader in the first place.

34
submitted 4 months ago* (last edited 4 months ago) by HobbesHK@startrek.website to c/godot@programming.dev

I have been looking for a 2D reflective water shader for some time and was delighted to see that this tutorial was posted on YouTube to create just that:

https://www.youtube.com/watch?v=wPr5PvSgxFo

I've had a go at implementing it and have got the reflective water rendering. It's very "Kingdom: Two Crowns" like when spread across the full width of the scene.

However, as you can see from the image above, I've drawn a pond (as a separate Sprite2D) and I've applied the water shader to the pond. It's done that, but draws the water as a rectangle.

Is there a way to apply this shader to the Sprite2D, but conform to the actual sprite (only the light blue), rather than as a rectangle?

22
submitted 6 months ago* (last edited 6 months ago) by HobbesHK@startrek.website to c/linux_gaming@lemmy.ml

I was wondering if anyone could offer some insights.

Bit the bullet and purchased Alan Wake 2 on the Epic Game Store. With the DLC on the way I just can't wait any longer and maybe this one will never come to Steam? (With Epic as publishers, who knows)

I've installed Heroic Game Launcher, downloaded the latest Wine-GE and Proton-GE, downloaded the game and managed to get it running. Tried it with both Wine-GE and Proton-GE. No noticeable difference.

My specs:

  • Intel Core i7 10700K
  • 48Gb RAM
  • Radeon RX 7800 XT 16Gb
  • Manjaro Linux, kernel 6.9
  • Mesa 24.1.1 (using the mesa-nonfree repo)
  • Game is installed on my 1TB NVME drive

I'm running things on Medium/High, with FSR2 on Balanced, in 2560x1440

No raytracing enabled anywhere.

Honestly, it doesn't matter what resolution I choose. Even when running is 720p on Low, the framerate is the same.

I get around 27 fps with regular dips into the lower 15-20 when I spin the camera around quickly.

I've finished the first chapter (just in the morgue) and the framerate got choppier and choppier. I get Bright Falls has a lot more going on than the intro woodsy bit. But at this rate, I'm just not sure what to do.

When I look at other people on YouTube, their framerates are much higher. Even on Linux. And with less powerful hardware. Other games run MUCH faster. I get AW2 is demanding, but I can play CP2077: Phantom Liberty at 140+ fps in Dog Town on High in 1440p with FSR2 enabled, so I don't feel that AW2 should tank my PC that hard.

Is there something I'm overlooking here? I've tried the CyberFSR as well, made no noticeable difference.

Mangohud shows my CPU is consistently around 50% and my GPU is around 40% so there's definitely room to push things more, I feel. So why isn't AW2 using these resources?

Any help would be greatly appreciated. I love this game and want to play it, but the framerate is stopping me from really enjoying it.

[-] HobbesHK@startrek.website 9 points 6 months ago

I prefer the world-famous song “Press X to Jason”

https://m.youtube.com/watch?v=_56257iS77A

Since it’s about the first 5-10 minutes of the game, it’s not a big spoiler.

Stupid Jason.

[-] HobbesHK@startrek.website 8 points 6 months ago

Hah, yes! Or O’Brien, the most important Starfleet officer in history!

[-] HobbesHK@startrek.website 21 points 6 months ago

As a show with so much promise, I often felt Disco reached for big concepts but never quite managed to get there. It would get bogged down with pathos and dragged out plot lines. Unfortunately, season 5 felt no different. This episode dragged on and on for me. Mol and L’ak had mostly become irrelevant and were completely unnecessary in this episode.

I get the series got axed and additional scenes were shot to round things out. But that random “we’re all hugging” scene? It was weird. And didn’t the actress who played Detmer say their absence was planned and revealing anything would be a big spoiler or something? Well. No, it really wasn’t.

Kovitsch was Daniels? I think at that point of the story, he could’ve been anyone and it wouldn’t have landed. He could’ve been Sloane (not dead after all!) and it would’ve made as much sense and be just as meaningful to the story.

The progenitor plot? With a tick list of “clues” and “challenges” to lead the way, but ultimately we decide your worthiness to reshape the universe as we know it with a geometry puzzle? I can’t even.

Discovery had potential, back in the day, but disappointed year on year. I had hoped this final season would offer redemption, but alas. Decent bunch of actors, but with subpar writing that usually went nowhere coherent. I won’t miss it. Glad it’s done. I hope Paramount learnt some valuable lessons from this and moves things on.

[-] HobbesHK@startrek.website 4 points 7 months ago

Something about the former Primarch really reminds me of Sarris from Galaxy Quest.

[-] HobbesHK@startrek.website 4 points 11 months ago

As an open source alternative, I prefer a Jellyfin server and then using Feishin as a client. Nicer UI and options. Plex is a major no-no for me since they’ve started emailing people what they’ve been watching on their own servers. Privacy issues and required online login/plex-owned accounts for my own media? No thank you.

[-] HobbesHK@startrek.website 6 points 1 year ago

I’m at the Grymforge right now and Nere needs to be freed so I can stay safe in the Shadow-Cursed Lands. I’ll persevere, good to hear I’m getting close to your fave bit!

33
Trying to get into Act 2 (startrek.website)

I scoured all the Act 1 areas (probably still missed stuff) but finally decided to jump into Act 2. I'm struggling to feel "connected" to it, to be honest. I went down the ladder into the Underdark and just sailed my way across to some ancient Shar-worshipper place and I feel... lost?

I remember this was exactly the issue I had with D:OS2 as well. Played Fort Joy, loved it, made it off the island and couldn't figure out where to go, what to do, etc. The sense of direction left me.

I feel similar vibes here arriving in Act 2. Anyone have any tips or advice, or is it just a case of "stick with it, you'll be all right"? I'm asking because I've played a lot of Act 1 and barely touched the game since making it into Act 2 a few weeks ago.

[-] HobbesHK@startrek.website 6 points 1 year ago

Loved the episode. Did I understand correctly that the Betazoids were travelling from planet to planet to find a cure for this rampant emotional telepathic event?

Does that mean T’Lyns powers extended that far?

Or were they secretly hunting for the alien ship? I got a little bit lost with the fast dialog.

On a random note, funny how in ten forward the two guys making out kept inserting themselves in almost every scene.

1
submitted 1 year ago* (last edited 1 year ago) by HobbesHK@startrek.website to c/starwars@lemmy.ml

Well. That happened.

I'm really not sure what to say about this one. I loved Clone Wars and I loved Rebels. But they were zingy, tight shows with a lot of life to them.

This episode... was not that.

There was a space battle between a ship and a few smaller ships.

There was some clattering of wooden swords between a Jedi and a non-Force-Padawan-because-erm... didn't we do the "Let Sabine be Sabine" story already on Rebels?

Oh. And there was something about Hera and the New Republic being ineffective. But we got to see her lovechild from Kanan. So wink-wink he wants to be a Jedi.

I don't know. I feel very conflicted because I desperately want to love this show. But... this episode felt very empty. Boring.

And why do I feel like I'm going to be proven right and masked-evil-Jedi-person turns out to be fallen Ezra?

That would be disappointing.

If this show is trying to tell an exciting story travelling across galaxies, finding Thrawn, adding new layers of mysticism to the universe, then... give me that show. Not this plodding stilted whatever-this-is.

[-] HobbesHK@startrek.website 16 points 1 year ago

I don’t miss it one bit as a social platform. I just wish that search engines wouldn’t prioritise it as much when I try to find a “how to do….” guide. It’s insane how many Reddit threads (half deleted and otherwise) dominate the results. Just show me a nice webpage please.

Without Adblock detection. And no bloody “how to” videos either. I just want to read it through, thank you.

1
submitted 1 year ago* (last edited 1 year ago) by HobbesHK@startrek.website to c/starwars@lemmy.ml

Well - it’s here! The first two episodes are on Disney+

Keen to hear what everyone’s thoughts are. Needless to say, there will be lots of spoilers in this discussion.

I really liked it. Felt like a solid continuation of Rebels, a bit slow at times, but overall a solid setup for what could be a very interesting and exciting series.

I feel like we should be able to guess the identity of the masked third Sith-esque villain. Don’t think it’s a fallen Ezra (too boring a plot line) but the stance and mannerisms seemed very familiar…

Also - great to see Kevin Kiner doing the music! Nice callback to some Rebels motifs here and there.

I would’ve liked to see Vanessa Marshall as Hera, I felt her voice was so uniquely matched. This Hera seems way too girly for a maternal older Hera. And where is her son?

Hoping for a Freddie Prinze Jr cameo.

Dave Filoni must be so happy to finally tell this story. Can’t wait to see what comes next!

[-] HobbesHK@startrek.website 9 points 1 year ago

Is anyone perhaps able to summarise these alleged "best" settings? I hate YouTube clickbait.

[-] HobbesHK@startrek.website 3 points 1 year ago

8bitdo owner here - I’m having exactly the same issues. I’m playing on Linux, so I thought that might’ve been the issue but probably not then. As long as the controller is connected before starting the game, and I keep it awake during the game, all is good. Awkward, but I suppose we’ll have to manage for now.

[-] HobbesHK@startrek.website 3 points 1 year ago

I’ve been on Manjaro for about 1.5 years now too. I switched over to the Unstable branch a while back, which fixed this issue for me. This branch seems to be getting all packages at the same speed as regular Arch. Plus, I still get the Manjaro-specific kernels, access to their repos, integrated pamac, etc. For now, I’m sticking with Manjaro this way.

view more: next ›

HobbesHK

joined 2 years ago