{"id":18595457,"url":"https://github.com/ericjang/glsl-playground","last_synced_at":"2025-10-16T03:47:07.675Z","repository":{"id":26094588,"uuid":"29538650","full_name":"ericjang/glsl-playground","owner":"ericjang","description":"Shadertoy-compatible fragment shader viewer. ","archived":false,"fork":false,"pushed_at":"2015-01-20T16:21:54.000Z","size":144,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T23:08:03.382Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/ericjang.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}},"created_at":"2015-01-20T16:13:47.000Z","updated_at":"2024-09-07T12:44:53.000Z","dependencies_parsed_at":"2022-08-25T01:00:49.859Z","dependency_job_id":null,"html_url":"https://github.com/ericjang/glsl-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericjang%2Fglsl-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericjang%2Fglsl-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericjang%2Fglsl-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericjang%2Fglsl-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericjang","download_url":"https://codeload.github.com/ericjang/glsl-playground/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254529790,"owners_count":22086494,"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","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":[],"created_at":"2024-11-07T01:19:47.279Z","updated_at":"2025-10-07T14:09:45.088Z","avatar_url":"https://github.com/ericjang.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"#GLSL-Playground\r\n\r\nglsl-playground is a viewer for OpenGL fragment shaders.\r\nIt is desgined to be compatible with http://shadertoy.com, so you can simply copy \u0026 paste your shader from ShaderToy for offline editing. This is also handy for consumer laptops that aren't powerful enough to run the WebGL overhead.\r\n\r\n![screenshot.png](https://bitbucket.org/repo/jX8gon/images/1255298048-screenshot.png)\r\n\r\nglsl-playground currently does not support `sampleCube` or `sampler2D` textures, and has no support for audio yet. Implementation is in progress.\r\n\r\n## Compiling\r\nRequires QT5. Build tested on Ubuntu Linux.\r\n\r\n```\r\n$ git clone https://ejang@bitbucket.org/ejang/glsl-playground.git\r\n$ cd glsl-playground\r\n$ qmake \u0026\u0026 make\r\n```\r\n\r\n## Usage\r\n\r\nSave your shader in a plaintext file (e.g. myShader.txt or myShader.frag, extension doesn't matter).\r\n\r\nIn your terminal, run \r\n```\r\n./glsl-playground [path-to-your-shader] # e.g. myShader.txt\r\n```\r\n\r\nYou can make edits to your shader in your favorite text editor, and recompile it by hitting the Ctrl-R hotkey. If there are mistakes in your shader, they will be printed to the terminal.\r\n\r\n## TODO\r\n\r\n* Add a built-in shader editor with realtime editing tweaks, inspired by Bret Victor's [\"Inventing on Principle\" Talk](https://vimeo.com/36579366) and [Apple's Swift Playground](http://www.objc.io/issue-16/rapid-prototyping-in-swift-playgrounds.html).\r\n\r\n## Supported Platforms\r\n\r\nThis has tested with OpenGL versions 3.0 and 4.3 on Ubuntu Linux.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericjang%2Fglsl-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericjang%2Fglsl-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericjang%2Fglsl-playground/lists"}