{"id":27761068,"url":"https://github.com/tsoding/opengl-template","last_synced_at":"2025-04-29T12:24:26.046Z","repository":{"id":44956944,"uuid":"338318190","full_name":"tsoding/opengl-template","owner":"tsoding","description":"Just a simple OpenGL template that I use on my streams.","archived":false,"fork":false,"pushed_at":"2023-01-28T22:37:18.000Z","size":536,"stargazers_count":64,"open_issues_count":0,"forks_count":9,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-05-31T04:12:34.349Z","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/tsoding.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":"2021-02-12T12:50:48.000Z","updated_at":"2023-04-26T12:00:30.000Z","dependencies_parsed_at":"2023-02-15T19:15:54.122Z","dependency_job_id":null,"html_url":"https://github.com/tsoding/opengl-template","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fopengl-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fopengl-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fopengl-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fopengl-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsoding","download_url":"https://codeload.github.com/tsoding/opengl-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251500087,"owners_count":21599215,"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":"2025-04-29T12:24:20.488Z","updated_at":"2025-04-29T12:24:26.041Z","avatar_url":"https://github.com/tsoding.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenGL Template\n\nJust a simple OpenGL template that I use on my streams.\n\n## Controls\n\n| Shortcut                 | Description                                                                                                                                            |\n|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| \u003ckbd\u003eq\u003c/kbd\u003e             | Quit                                                                                                                                                   |\n| \u003ckbd\u003eF5\u003c/kbd\u003e            | Reload [render.conf](./render.conf) and all the resources refered by it. Red screen indicates an error, check the output of the program if you see it. |\n| \u003ckbd\u003eF6\u003c/kbd\u003e            | Make a screenshot.                                                                                                                                     |\n| \u003ckbd\u003eSPACE\u003c/kbd\u003e         | Pause/unpause the time uniform variable in shaders                                                                                                     |\n| \u003ckbd\u003e←\u003c/kbd\u003e\u003ckbd\u003e→\u003c/kbd\u003e | In pause mode step back/forth in time.                                                                                                                 |\n\n## Shader Uniforms\n\n| Name         | Type        | Description                                                                          |\n|--------------|-------------|--------------------------------------------------------------------------------------|\n| `resolution` | `vec2`      | Current resolution of the screen in pixels                                           |\n| `time`       | `float`     | Amount of time passed since the beginning of the application when it was not paused. |\n| `mouse`      | `vec2`      | Position of the mouse on the screen in pixels                                        |\n| `tex`        | `sampler2D` | Current texture                                                                      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsoding%2Fopengl-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsoding%2Fopengl-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsoding%2Fopengl-template/lists"}