Brian Breiholz
banner
brianbreiholz.bsky.social
Brian Breiholz
@brianbreiholz.bsky.social
Web & Game Dev | building Animagica - the Animation Blueprint Editor for three.js & the Web

Find older Posts on: https://x.com/BrianBreiholz
Hey, I'm curious, did you end up trying it out? :)
September 21, 2025 at 12:53 PM
Thanks a lot for that. That's some really good input. I'll experiment with that, might follow up with a DM some point in the future if it's ok :)
June 18, 2025 at 6:03 PM
I tried blending only the x-axis in the camera's local space, which eliminates the flipping problem, but as soon as I include the `dot(playerVel, camForward)` somewhere in the blend process it gets super disorienting.
June 18, 2025 at 3:43 PM
Thanks! How do you blend the positions?
When I blend in world space I get issues with the player running straight into the camera and that in turn affecting the movement direction (i.e. causing flipping like in the video if unhandled).
June 18, 2025 at 3:43 PM
Any tips for avoiding/reducing motion sickness with the lookahead functionality? I'm trying to figure out what's wrong with mine 😬
June 18, 2025 at 10:51 AM
Oh how cool!! Thanks a lot and for writing the article in the first place :)
Big fan of your gameart breakdowns!
May 4, 2025 at 5:24 PM
feel free to replicate, this is what I used to compress the hdr map: husong.me/ktx2-encoder...
this is what I used to measure VRAM (in WebGL) github.com/greggman/web...
KTX2 Encoder Tool | KTX2-Encoder
A lightweight JavaScript library for converting images to KTX2 format
husong.me
May 2, 2025 at 12:52 PM
~ 200k triangles
May 2, 2025 at 11:51 AM
I'm not sure tbh, I'm new to these formats as well and just looking at the reported numbers, though it would be good to dig into it. My measurements might have been off by sth as well, not sure if I subtracted the framebuffer VRAM correctly. But they were > 100mb for sure. Maybe bc it's UASTC HDR?
May 1, 2025 at 3:27 PM
I measured this with github.com/greggman/web..., so only an estimate, but the order of magnitude should be right.

But roughly checks out, doesn't it?
(2048 * 4096 * 25) / (1024 * 1024) = 200
GitHub - greggman/webgl-memory: A library to track webgl-memory
A library to track webgl-memory. Contribute to greggman/webgl-memory development by creating an account on GitHub.
github.com
May 1, 2025 at 7:35 AM
inspiration came from this excellent breakdown of the technique by @simonschreibt.bsky.social
simonschreibt.de/gat/homeworl...
Homeworld 2: Backgrounds | Simonschreibt.
simonschreibt.de
April 30, 2025 at 3:04 PM
Yup, +1 for the audio book.
The craft sequence series by Max Gladstone is so good as well.
March 8, 2025 at 9:32 PM