Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshb/glsl_lighting
An OpenGL application written in C that demonstrates lighting implemented with GLSL shaders.
https://github.com/joshb/glsl_lighting
Last synced: about 1 month ago
JSON representation
An OpenGL application written in C that demonstrates lighting implemented with GLSL shaders.
- Host: GitHub
- URL: https://github.com/joshb/glsl_lighting
- Owner: joshb
- Created: 2012-08-11T19:05:13.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-07-03T17:44:28.000Z (over 8 years ago)
- Last Synced: 2023-04-15T11:17:50.302Z (over 1 year ago)
- Language: C
- Size: 13.7 KB
- Stars: 28
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
glsl_lighting
=============This 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).
This 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:
mkdir build && cd build
cmake .. && make
./glsl_lightingThis 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).
Contributors
------------
* [Julian Straub](https://github.com/jstraub) - added CMake support