castpixel ⚧️⚢
banner
castpixel.bsky.social
castpixel ⚧️⚢
@castpixel.bsky.social
🎨 Senior game artist and art director with 20 years of experience | 🎮 Pixel artist & gamedev | Playdate dev | ⚧️⚢
🍉 🇵🇸

Clients: Mojang (Minecraft), WB Games, Hasbro, SEGA, Panic, Unity, IDW

📬 [email protected]
🎨 castpixel.artstation.com
yeah the depthmap is 16bit so it doesn't have enough values
January 27, 2026 at 10:59 PM
the best I can do is get the actual faces of the 3d model. i.e. super low poly, and I can't access the phong smoothing.

C3 has access to it of course. So the shader, even though it SORT of can use actual normals from depth, looks really low-poly and not smooth. I'm tired
January 27, 2026 at 9:42 PM
oh interesting! dFdx/ dFdy and depth map?
January 27, 2026 at 8:39 PM
Making a matcap shader for Construct 3, now that it can import 3D obj
Since we have no access to normal maps, I bake a normal map and load it as a texture. Shader has access to it, so it can use the normals as input to do the matcap shader.

I encode a 64x64 matcap texture in the shader itself.
January 27, 2026 at 7:59 PM
yay!! and I just made a matcap shader that finally works!
January 27, 2026 at 7:53 PM
thank you. I do pixelart, not injections ^-^
January 27, 2026 at 12:52 AM
Cuteness! 💖
January 26, 2026 at 7:05 PM
wow. magic :D
January 26, 2026 at 1:12 PM
do these only see 4 directions? do they see slopes? Do they blend, for cylinders? Amazing work!
January 26, 2026 at 1:00 PM
wow!
January 26, 2026 at 12:26 PM
they're sick af indeed!!
January 26, 2026 at 12:24 PM
oh wow. maybe that's a feature we could ask Ashley to make available? Or even better: normals.
January 26, 2026 at 11:59 AM
I guess you can't? but if you can, yay! For now I have a great fake chrome and a very real gouraud/ sand effect
January 26, 2026 at 11:19 AM
yes, it works great. Have you gotten the sand shader to work? It needs a .glb with a baked normal map , for texture
January 26, 2026 at 10:10 AM
ha! setting 3D rendering on makes clipping disappear!
January 26, 2026 at 8:44 AM
oof. It's Ashley time I guess!
January 26, 2026 at 1:29 AM
so close!
January 26, 2026 at 1:08 AM
it's 3.05 here. Greece, habibi. And you?
January 26, 2026 at 1:05 AM
you're way more skilled than I am! that's as far as I go :/
January 26, 2026 at 1:05 AM
you're right! The issues with 3D direct rendering are:
1. you can't do pixel sampling/ blur effects, because the compositor doesn't create an intermediate texture
2. c3 might STILL add a pre-draw step, so it's not guaranteed?

But it seems more suitable for 3D
January 26, 2026 at 12:50 AM
Yeah! Do you have time to submit a bug report?
January 26, 2026 at 12:43 AM
"extend-box": {
"horizontal": 100,
"vertical": 100
}

this is the problem right? oof.
January 26, 2026 at 12:09 AM
I'll keep my eyes open when I experiment!
January 26, 2026 at 12:04 AM