PixelMind
pixelmind.bsky.social
PixelMind
@pixelmind.bsky.social
WebGL graphics programmer. Author of Mixly.app.
Ex game developer
This too is digital, right? Looks eerily like it was recorded in some weird setting, but really can't tell anymore.

Regardless, these are all truly spectacular :D
November 30, 2024 at 4:10 AM
That's some WebGL juiciness! Really nice.

Do you post live versions anywhere?

It would be nice to see them run live :)
November 30, 2024 at 4:06 AM
Scratch that.
I forgot that there would be no tex coords for the virtual vertices now. Having those would increase the number of extra data even further. So not really feasible.

I'm just loving the original trick! Would have been fantastic if it was somehow possible without the stencil buffer.
November 27, 2024 at 6:37 PM
It may be possible to calculate in vertex shader and pass the data in separate uv channels. I think it'd require 5 more uv coord, 1 per virtual vertex on the camera facing tetra triangle. No backfaces
Fragment works too but is expensive

But I might be missing something. Just a thought experiment :)
November 27, 2024 at 5:49 PM
Wow! That's a really cool technique. Haven't seen this one before.
It might even be possible to do it without stencils if you calculate the tetra shape analytically. 4 analytical triangle coords should be enough (never more than 4 visible to camera)

Really nice.
November 27, 2024 at 2:29 AM
Will do!
a cartoon of spongebob squarepants with a flower on his hat
ALT: a cartoon of spongebob squarepants with a flower on his hat
media.tenor.com
November 23, 2024 at 9:32 PM
Super nice!
Thought it was a signed distance field at first :)
November 23, 2024 at 9:29 PM
Hooray!
November 21, 2024 at 2:03 AM