{"id":32127911,"url":"https://github.com/cfnptr/vscode-gsl","last_synced_at":"2026-02-08T11:10:19.957Z","repository":{"id":207587977,"uuid":"719618306","full_name":"cfnptr/vscode-gsl","owner":"cfnptr","description":"Visual Studio Code extension, Garden Shading Language (GSL) linter","archived":false,"fork":false,"pushed_at":"2026-01-11T22:24:09.000Z","size":230,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T02:15:05.379Z","etag":null,"topics":["code","compiler","extension","garden","glsl","gsl","language","linter","shader","shading","visual-studio","vscode"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfnptr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-16T14:48:45.000Z","updated_at":"2026-01-11T22:24:12.000Z","dependencies_parsed_at":"2025-03-17T22:48:02.876Z","dependency_job_id":"0c73f9c0-51ee-4bc4-9c6d-e826a20ed6f5","html_url":"https://github.com/cfnptr/vscode-gsl","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"13071b91ef380a6c239291a1f1bf207278399477"},"previous_names":["cfnptr/vscode-gsl"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cfnptr/vscode-gsl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfnptr%2Fvscode-gsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfnptr%2Fvscode-gsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfnptr%2Fvscode-gsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfnptr%2Fvscode-gsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfnptr","download_url":"https://codeload.github.com/cfnptr/vscode-gsl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfnptr%2Fvscode-gsl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29228663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T09:43:19.170Z","status":"ssl_error","status_checked_at":"2026-02-08T09:42:55.556Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["code","compiler","extension","garden","glsl","gsl","language","linter","shader","shading","visual-studio","vscode"],"created_at":"2025-10-21T00:40:47.787Z","updated_at":"2026-02-08T11:10:19.917Z","avatar_url":"https://github.com/cfnptr.png","language":"JavaScript","readme":"# Garden Shading Language (GSL)\n\nGSL is a custom shader language based on [GLSL](https://en.wikipedia.org/wiki/OpenGL_Shading_Language). It was created for the [Garden](https://github.com/cfnptr/garden) game engine\nto simplify and standardize shader development. In the engine's repository, you can also find a compiler. Documentation with language changes is [here](https://github.com/cfnptr/garden/blob/main/docs/GSL.md).\n\n#### Vertex Shader (.vert)\n\n```\n#include \"common/tone-mapping.gsl\"\n\nin float2 vs.position : f32;\nin float2 vs.texCoords : f32;\nin float4 vs.color : f8;\n\nout float4 fs.color;\nout float2 fs.texCoords;\n\nuniform pushConstants\n{\n    float2 scale;\n    float2 translate;\n} pc;\n\nvoid main()\n{\n    gl.position = float4(vs.position * pc.scale + pc.translate, 0.0f, 1.0f);\n    float3 color = gammaCorrection(vs.color.rgb, DEFAULT_GAMMA);\n    fs.color = float4(color, vs.color.a);\n    fs.texCoords = vs.texCoords;\n}\n```\n\n#### Fragment Shader (.frag)\n\n```\npipelineState\n{\n    faceCulling = off;\n    blending0 = on;\n}\n\nin float4 fs.color;\nin float2 fs.texCoords;\n\nout float4 fb.color;\n\nuniform sampler2D\n{\n    filter = linear;\n} tex;\n\nvoid main()\n{\n    fb.color = fs.color * texture(tex, fs.texCoords);\n}\n```\n\n## Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfnptr%2Fvscode-gsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfnptr%2Fvscode-gsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfnptr%2Fvscode-gsl/lists"}