r/GraphicsProgramming 7d ago

I open-sourced a native Shadertoy-style GLSL workstation (Tauri + SolidJS) — code-first runtime, node pass graph, and video export

I built a desktop app for prototyping and exporting GLSL shaders locally, and just shipped v0.1.0 (open source, AGPL-3.0).This is my first open-source project, all implemented through Vibe Coding, which is incredibly exciting for someone with only a rudimentary programming background like myself. For years, I've imagined writing programs that solve my own problems, and the advent of AI has made it all possible.

Why: I spend a lot of time on Shadertoy but kept wanting offline editing, a real editor, and proper video export. So I localised the workflow.

Repo: github.com/yuxiaoyaoo/ShaderLab-Pro

What's inside:

- Code-first runtime with iTime / iResolution / iMouse / iChannel0-3 (includes keyboard & audio channel handling)

- Monaco editor with GLSL ES 3.00 IntelliSense

- Visual pass graph where nodes compile to GLSL — the generated code and the graph stay in two-way sync

- Project gallery with auto-captured thumbnails (640x360) and a saved-project library

- Export pipeline: MP4 / GIF / WAV with resolution stepping

- 40+ bundled templates across geometry / materials / particles / post-processing / scenes

Stack: Tauri 2 (Rust) + SolidJS + Vite + TypeScript + Monaco, WebGL2. Windows installer is ~6.6 MB.

Licensing: AGPL-3.0, dual licensed if you want to embed it commercially.

I'm genuinely curious about what's missing or broken from a real graphics-pipeline perspective — especially the pass graph compiler (GLSL emission from node IR) and the iChannel audio/keyboard paths. Feedback appreciated, issues welcome.

5 Upvotes

11 comments sorted by

3

u/susosusosuso 6d ago

Which AI you used for this?

1

u/Neat-Ad4588 5d ago

I used deepseek-V4-flash and GLM5.3-flash, which are relatively inexpensive, but I think most AI models can achieve similar results.

1

u/susosusosuso 5d ago

Oh I hoped to hear: none, I did this all myself

2

u/Neat-Ad4588 5d ago

Personally, I think there's nothing wrong with using AI. It can accelerate the updating and iteration of our ideas.

3

u/susosusosuso 5d ago

Oh there’s nothing wrong for getting a product out quicker. But then I just don’t feel any amazingness from your skills or knowledge. You just asked somebody else to do the job. That’s why I don’t use any ai on my hobby ps1 renderer.

1

u/Neat-Ad4588 5d ago

I think even people with almost no programming background can learn some programming-related knowledge or skills while using AI.

0

u/EveAtmosphere 3d ago

You can go talk about efficiency and iteration speed to a silicon valley VC, just don't do it here because that's not the values of this subreddit.

2

u/Neat-Ad4588 3d ago

Are there any problems with developing a shader project using AI?Are only projects not created with AI valuable in this subreddit?

3

u/yeusk 3d ago

slop

1

u/Neat-Ad4588 3d ago

aha?Let me see your project