jeffkdev (@jeffkdev) header
jeffkdev (@jeffkdev) profile picture

Programmer, game dev @jeffkdev@mastodon.gamedev.place @jeffkdev.bsky.social

Joined March 2016
Character test with runtime bone constraints
2
Each grass blade has 4 vertices with the motion being masked by the alpha channel of the vertex color. Haven't applied any lighting yet except fog interpolation in the vertex shader
1
The motion still needs some work, but was fun experimenting with different color colors
1
1
Made a low-poly grass field today
1
2
Adding the tangent of the surface normal (black line) to an acceleration vector causes the player to surf around the dunes automatically. Still a lot to do until this looks right though.
1
Happy little accident of the day: when the light direction is at the right angle the shadow artifacts look like ripples in the sand
1
Working on some lighting and fog effects for a desert scene. Right now just using a linear transition between three environments for a sped up day/night cycle.
1
The previous level editors I made used Bullet Physics with a btCollisionWorld just for ray-intersection entity selection. But working without a physics engine means I get to make my own ray-shape collisions!
1
1
Instanced + skinned mesh rendering test. Each cube face is linked to one bone and each row of cubes shares the same bone state (stored in the alpha channel of the instance color). Supports 4 bones/vertex, but currently just using 1 here #zig #sokol
1
Wrote a couple functions that converts Zig structs to ImGui menus and then serializes them back to code where they are compiled into the binary during the next run #ziglang
1
7
Since both the outer shell and fluid are instanced everything can be rendered with two draw calls (plus one for the ground)
2
Made a quick and easy fluid simuluation using a single ball constraint. Each sphere has an unrendered ball inside to track inertia and then has a ripple effect based on the magnitude of the velocity in the vertex shader.
1
2
Experimenting with constraints. Moving the bounding sphere around was way more satisfying than I expected
2
1
12
Basic shadow mapping and instanced cubes with #ziglang
4
Spinning cube using the math lib linked on the Zig community projects page. Ran into a couple bugs on some mat4 functions, but I should be able to get a PR up this weekend to fix them up. #ziglang
2
Sound effects added using sokol_audio! Ported the sfxr code to Zig- great for making fast/simple sound effects #ziglang
1
5
Gave Zig a shot this weekend. So far got a rendered triangle on Windows using Sokol. Pretty nice to work with so far #ziglang #sokol
3
1
18