{"id":21375983,"url":"https://github.com/joshb/glsl_lighting","last_synced_at":"2026-02-27T21:34:41.647Z","repository":{"id":4256240,"uuid":"5382571","full_name":"joshb/glsl_lighting","owner":"joshb","description":"An OpenGL application written in C that demonstrates lighting implemented with GLSL shaders.","archived":false,"fork":false,"pushed_at":"2016-07-03T17:44:28.000Z","size":14,"stargazers_count":30,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-07T08:51:45.228Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-11T19:05:13.000Z","updated_at":"2025-03-31T12:46:21.000Z","dependencies_parsed_at":"2022-08-06T15:16:45.872Z","dependency_job_id":null,"html_url":"https://github.com/joshb/glsl_lighting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joshb/glsl_lighting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshb%2Fglsl_lighting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshb%2Fglsl_lighting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshb%2Fglsl_lighting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshb%2Fglsl_lighting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshb","download_url":"https://codeload.github.com/joshb/glsl_lighting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshb%2Fglsl_lighting/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265128083,"owners_count":23715620,"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-22T09:13:23.082Z","updated_at":"2026-02-27T21:34:36.629Z","avatar_url":"https://github.com/joshb.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"glsl_lighting\n=============\n\nThis is an OpenGL demo featuring simple per-pixel diffuse/specular lighting using vertex/fragment shaders written in GLSL. It was created for the tutorial [Getting Started with the OpenGL Shading Language](http://joshbeam.com/articles/getting_started_with_glsl/) by [Josh Beam](https://github.com/joshb).\n\nThis program uses the [CMake](https://cmake.org/) build system. Run the following commands from the directory containing the source code to build and run the program:\n\n    mkdir build \u0026\u0026 cd build\n    cmake .. \u0026\u0026 make\n    ./glsl_lighting\n\nThis program is released under a BSD-style license. You can find the copyright notice and license conditions at the beginning of any of the source code files (such as main.c).\n\nContributors\n------------\n* [Julian Straub](https://github.com/jstraub) - added CMake support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshb%2Fglsl_lighting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshb%2Fglsl_lighting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshb%2Fglsl_lighting/lists"}