
Today I'm open-sourcing Tangle: a new library that automatically 'entangles' and syncs WebAssembly. Play with the demo: tanglesync.com And check out the code: github.com/kettle11/tangle

Developer and designer. lolo.gg tanglesync.com bloom3d.com

Today I'm open-sourcing Tangle: a new library that automatically 'entangles' and syncs WebAssembly. Play with the demo: tanglesync.com And check out the code: github.com/kettle11/tangle

More hacks: Safari's WebGPU also introduces a stall the first time a render (not compute) shader is used. So to avoid unexpected stalls it's best to prewarm a shader by having it render a trivial workload ahead of time. Hopefully these Safari / WebGPU kinks get ironed out!

The last few days have mostly been trying out ideas, rolling them back, and bug and performance fixes, but here's a slippery snowy mountain drive at sunrise! The mountain's real life location is here, deep in British Columbia's mountains: maps.app.goo.gl/uyzPRh1J75ho…

Forbidden hacks that work: you can spawn a few web workers with new WebGPU devices to force Safari to compile your shaders in parallel and when the main thread tries to compile them they're already cached!

Fortunately it seems like a fix has landed for future version of Safari: bugs.webkit.org/show_bug.cgi… Safari was compiling WebGPU shaders serially. But until that lands WebGPU games on Safari with many shaders will have startup times that are often 3-4x slower than Chrome.

One of the things I'm learning working on this is that shipping versions of Safari have some pretty nasty WebGPU shader compilation performance issues that heavily harm the first load of games with more than a few shaders, which is most games.
Quite pleased with how the lighting is coming together in this game. This is running on a MacBook Air in Chrome at 60 fps.

Before I was using AgX tone mapping, which looks good overall, but it was straying far from what the real locations looked like and it was limiting the usefulness of wider gamuts like Display P3's. However the new tone mapping approach may look less "cinematic".

Immediately after this earlier tweet I went down a rabbit hole that's led to the largest lighting and look changes so far. I'm still deciding on if it's a good call. Before / after at Coral Pink Sand Dunes State Park with a low sun on the horizon:
Quite pleased with how the lighting is coming together in this game. This is running on a MacBook Air in Chrome at 60 fps.

With the various custom game engines I've made I've always wanted them to support Display P3 and they kinda have, but never in a way that showed up in 3D scenes. No more! Now you can have your very bright sand extra bright and your cyan truck eye-bleedingly cyan!

Quite pleased with how the lighting is coming together in this game. This is running on a MacBook Air in Chrome at 60 fps.

Game design & optimization are both very difficult and nuanced. Looking at most of the demos coming out they check the boxes of being a game but don't succeed in hard to articulate ways. I'm both curious about and fearful of the possibility of AI bridging that "taste" gap.

With the state of AI today I think these "one shot" game demos are impressive but hard to make into something players want. There's so much perf & design importance in small details and it can be very difficult to correct those problems when the AI progresses in such big chunks.

This would be a positive thing for web. Web has many of the pieces to make games great, but there's a lot of rough edges because for a long time now games haven't been a big priority for browser maintainers.

It would be difficult, but I wonder if Epic will try to port Fortnite to web. They've been fighting app stores and platform holders. Web's advantage is it has no gatekeepers and it's like a game is always installed, which has retention advantages.
It's a new age of game development! This is the Unreal Engine 5.9 preview, consisting of huge improvements to AI acceleration ported from unfinished Unreal Engine 6, plus entirely new support for play inside web browsers.


I've been putting lots of optimizations, backend work, and graphical improvements into this but the most fun new feature of the last few days is vehicle skins!
More graphics improvements + a preliminary map system.