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
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
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
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


