←
Ian Kettlewell5,545 posts
Ian Kettlewell avatar

Ian Kettlewell

@kettlecorn

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

◷ Joined February 2008▧ 554 Photos and videos
Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·16h

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!

Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 16

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…

0:34
Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 16

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!

Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 16

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.

Post attachmentPost attachment
Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 12

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".

Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 12

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:

Post attachmentPost attachment

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

Post attachmentPost attachment
Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 12

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!

Post attachment
Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 11

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

Post attachmentPost attachment
Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 11

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.

Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 11

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.

Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 10

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.

Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 10

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.

Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 10

Vehicle skins + more lighting improvements!

0:47
Ian Kettlewell avatar
Ian Kettlewell@kettlecorn·Nov 10

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!

Post attachmentPost attachmentPost attachment

More graphics improvements + a preliminary map system.

0:34