shadertoy importer

   279   0   1
User Avatar
Member
9 posts
Joined: Feb. 2009
Offline
Hi all,
I wanted to share an experimental Shadertoy importer I've been chipping away at. It started life as a naive regex parser, got rewritten a few times, and eventually the idea grew over my head and I delegated the transpiler writing to claude.

It's a GLSL to OpenCL transpiler wrapped in an HDA. The preprocessor tricks are the main holdouts, otherwise seem to work..ish (including buffer and cubemap passes).
Still on the todo list, all doable, just not wired up yet: 3D noises, mouse, keyboard, webcams and possibly even sound shaders (CHOPS?) but.. the transpiler stability is what will make or break the idea (or me)


https://github.com/shaderology/hShadertoy [github.com]



  • Quick Links