Brandon Jones
tojiro@mastodon.social

It's funny* that if you generate your own electricity and send some of back to PG&E they're like "So, actually GENERATING the power is, like, worthless. Have some pennies. No, it's actually, uh, DELIVERING the power that costs lots and lots of money! Yeah. Pay up."

*aggravating but predictable

1 day ago
Brandon Jones
tojiro@mastodon.social

TypeScript fixed a longstanding bug for me today!

I had an older, vanilla JS WebGPU cascading shadow map demo where I simply could not figure out why my shadow filtering didn't seem to work.

Today I tried porting that code to a newer TypeScript code base and... Ah. That's why.

2 days ago
Brandon Jones
tojiro@mastodon.social

I find it funny how "working on WebXR" involves spending very little time actually in VR/AR and an awful lot of time peeking out of the bottom of a headset to find my mouse and keyboard.

3 days ago
Brandon Jones
tojiro@mastodon.social

Wait, so the Switch 2 is actually doing the joycons-as-a-mouse thing? That sounds like the most awkward possible thing to use.

https://youtube.com/clip/UgkxnyU_5lc_FSmHXpCizszWvfriXcQmZXoT?si=ZNubGlBYqUxxlHlq

3 days ago
Brandon Jones
tojiro@mastodon.social

Ugh. My shoulder randomly tensed up and is real sore now and I have no idea why. I guess it's time for another round of "Did I Injure Myself or Am I Just 40?"™️

5 days ago
Brandon Jones
tojiro@mastodon.social

Fell down a rabbit hole of trying to figure out renderers use real light measurements (like candela and lux) without the image being completely blown out. The answer (obvious in retrospect) is basically "everyone uses very tiny exposure values".

January 14, 2025
Brandon Jones
tojiro@mastodon.social

I've been doing graphics dev with or on WebGPU almost exclusively for a couple of years now, but today I'm going back and doing some really simple work in GL (mostly just creating and managing textures) and... how did graphics devs live like this for ~30 years?!? Global state is a curse. 😭

Also, why does my texture have two (2) formats AND a type?

(I know why, this is just me shaking my fist at ancient design decisions that against all odds still affect modern day developers.)

January 10, 2025
Brandon Jones
tojiro@mastodon.social

Very cool WebGPU demo showing a variety of rendering techniques.

https://gnikoloff.github.io/webgpu-sponza-demo/

And, even better, the author wrote a whole article about it!

https://georgi-nikolov.com/blog/webgpu-sponza-frame-analysis

January 08, 2025