Skip to content

joshb/glsl_lighting

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published