Damus

Recent Notes

Amini Allight profile picture
Is there a way to stop wlroots compositors from dropping the frame rate of hidden windows (e.g. on other virtual desktops) down to 1?
Most/all game developers don't test what their game does under these conditions and often the audio system just loses its mind
#wayland #linux
1
slembcke · 4w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt It does seem like the core Wayland folks have no intention of changing that. :( IIRC the โ€œfixโ€ is that (all) games should be rewritten to decouple rendering from everything else sinc...
Amini Allight profile picture
Realized that rather than searching through my in-world UIs for the widgets I want to test I can just embed them anywhere in the editor UI, like the audio settings page

The result is an ugly style clash, but it works!

#gamedev #indiedev #opensource #freesoftware



Amini Allight profile picture
Every time I try to use my game's tools I get frustrated by how unpolished they are so I've been touching up the UI, here's the old vs. new node editor style

It's amazing what a difference a few borders, different bezier control points and thinner lines makes!

#gamedev #indiedev #opensource #freesoftware


1
Amini Allight · 9w
Now I can delete that reference image of a nice-looking node editor I saved to my downloads folder six months ago
Amini Allight profile picture
Avoiding the nightmare of my broken netcode by adding a new shape primitive, here's some in-development screenshots of "packet", useful for depicting packaged food, sacks of grain, packaged medical supplies, shrink-wrapped items, etc.

#gamedev #indiedev #opensource #freesoftware #vr #virtualreality




Amini Allight profile picture
Oh you're kidding me, an inverted Vulkan viewport also inverts the triangle winding??

It makes sense, but how did it take me this long to notice ๐Ÿ˜…

#gpu #graphics #vulkan #programming #gamedev
1
Amini Allight · 15w
"Every renderer that works contains an even number of sign mistakes"
demofox · 15w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt what was the bug?
Amini Allight profile picture
@nprofile1q... A non-uniform texture array index

Different fragments within the same wave could diverge on which tile they chose to read from, but this divergence was ignored somehow and they all ended up reading from the same image

So when a wave straddled a tile boundary some fragments would read from tile 0 with a UV intended for image 1 or vice versa

Wrapping the index usage in nonuniformEXT from GL_EXT_nonuniform_qualifier fixed it
1
demofox · 15w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt thanks for sharing!
demofox · 15w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt what was the bug?
Amini Allight profile picture
Does anyone recognize this artifact? I'm storing the texture in multiple images to avoid exceeding max image dimensions and I'm getting this weird glitch at the tile boundaries

Even stranger, it isn't reflected in the UVs (second picture) or when reading the same image for both regions (third picture) and the sampler is set to nearest + clamp-to-edge

Boosts appreciated

#vulkan #glsl #gpu #graphics



1
Lou. · 15w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq8du04ls0m9qkxzq8qtkzdwdajq8uvc7cvz3a98432aw8dcc6rehq76x6gt could this be floating point rounding error?