suboptimaleng.bsky.social
@suboptimaleng.bsky.social
👨🏾‍💻 Indian-American Software Engineer
👾 Computer Graphics YouTuber (25k+)
❤️ Shaders, Anime, Gaming, Running
Decided to try out the MacOS Metal API with Swift. Here's a simple ray marching example in MSL (Metal Shading Language).

Recording this on an old Mac so it's pretty laggy, but it runs well when I'm not doing screen capture.
November 30, 2025 at 4:53 PM
Finally got node links (partially) working in C++ and ImNodes!

ChatGPT was very helpful, except when it started suggesting code from older versions of SFML.

Needed to create a graph data structure (with nodes and edges) to represent and store the UI state.
November 21, 2025 at 4:59 PM
GLSL Shader Experiment 23

Ray Marching Mouse Interaction (part 1)
June 13, 2025 at 11:26 PM
GLSL Shader Experiment 22

Ray Marching Procedural Terrain (part 4)
June 7, 2025 at 12:50 AM
GLSL Shader Experiment 21

Ray Marching Procedural Terrain (part 3)
June 6, 2025 at 3:10 AM
GLSL Shader Experiment 20

Procedural Terrain (part 2)

Ray marched a procedural terrain using value noise. This time, I removed the sphere SDF, colorized the terrain based on its normals, and added specular lighting.
June 4, 2025 at 2:59 AM
GLSL Shader Experiment 19

Procedural Terrain (part 1)

I ray marched a procedural terrain using value noise. Decided to add distance fog, color grading, and a toon shader to give the scene some contrast.
June 1, 2025 at 9:28 PM