All Projects → joshb → glsl_lighting

joshb / glsl_lighting

Licence: other
An OpenGL application written in C that demonstrates lighting implemented with GLSL shaders.

Programming Languages

c
50402 projects - #5 most used programming language
GLSL
2045 projects
CMake
9771 projects

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 by Josh Beam.

This program uses the CMake 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_lighting

This 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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].