{"id":15387008,"url":"https://github.com/gkjohnson/webgl-shader-editor","last_synced_at":"2025-11-13T22:54:14.267Z","repository":{"id":66338488,"uuid":"102974396","full_name":"gkjohnson/webgl-shader-editor","owner":"gkjohnson","description":"Realtime editor for creating webgl shaders","archived":false,"fork":false,"pushed_at":"2020-07-07T02:51:37.000Z","size":4882,"stargazers_count":28,"open_issues_count":3,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-15T19:53:35.965Z","etag":null,"topics":["3d","ace-editor","editor","graphics","rendering","shaders","threejs","webgl","webgl-programming"],"latest_commit_sha":null,"homepage":"https://gkjohnson.github.io/webgl-shader-editor/dist/index.bundle.html","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gkjohnson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-09T17:55:23.000Z","updated_at":"2025-03-28T14:55:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"d82c2416-63ff-4ed8-a88d-6b52885c2808","html_url":"https://github.com/gkjohnson/webgl-shader-editor","commit_stats":{"total_commits":141,"total_committers":1,"mean_commits":141.0,"dds":0.0,"last_synced_commit":"4bcfb53aec5ad59b1c7fc180c892169964914eca"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gkjohnson/webgl-shader-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fwebgl-shader-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fwebgl-shader-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fwebgl-shader-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fwebgl-shader-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gkjohnson","download_url":"https://codeload.github.com/gkjohnson/webgl-shader-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fwebgl-shader-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284304462,"owners_count":26982161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-13T02:00:06.582Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","ace-editor","editor","graphics","rendering","shaders","threejs","webgl","webgl-programming"],"created_at":"2024-10-01T14:51:18.134Z","updated_at":"2025-11-13T22:54:14.251Z","avatar_url":"https://github.com/gkjohnson.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webgl-shader-editor\nRealtime editor for creating webgl shaders with debugging tools to allow for inspecting local variable definitions in a fragment shader.\n\n[Demo](https://gkjohnson.github.io/webgl-shader-editor/dist/index.bundle.html)\n\n![Example](/docs/example.gif)\n\n## Goal\nAfter lot of frustration with developing shaders and not being able to easily track the calculations within a shader, I wanted explore what the possibilities for enabling a rich shader debugger might be light while still affording the direct shader code editing.\n\n## Features\n#### Real Time Compilation and Render\nAs the vertex and fragment shader are updated, the render display is updated and errors are displayed as annotations.\n\n#### Pixel Zoom\nZooming in on the image zooms in to a pixel view of the image.\n\n#### Local Variable Value Inspection\nHovering over a pixel in the preview pane will display the values of all the local variables used for that pixel.\n\n#### Local Variable Color Display\nEvery local variable will be displayed as a rendered image in the preview bar as though that variable were used to output the color for that fragment.\n\n#### LocalStorage Saving\nThe vertex and fragment shader being written are saved and reloaded on refresh\n\n## Caveats\n- Because colors are stored as 4 8bit values, there is a severe loss of precision when reading out floating point values. [Issue 1](https://github.com/gkjohnson/webgl-shader-editor/issues/2), [Issue 2](https://github.com/gkjohnson/webgl-shader-editor/issues/1)\n\n## TODO\n- [ ] Add pause button for animated variables\n- [ ] Texture upload\n- [ ] Uniform variable edit UI\n- [ ] Multi-pass shaders, stencil buffer, and screen post-effects\n- [ ] Add mouse position into shader uniforms\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkjohnson%2Fwebgl-shader-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgkjohnson%2Fwebgl-shader-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkjohnson%2Fwebgl-shader-editor/lists"}