Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshb/cglighting
An OpenGL application written in C that demonstrates the use of pixel shaders written in Cg.
https://github.com/joshb/cglighting
Last synced: about 1 month ago
JSON representation
An OpenGL application written in C that demonstrates the use of pixel shaders written in Cg.
- Host: GitHub
- URL: https://github.com/joshb/cglighting
- Owner: joshb
- Created: 2012-08-11T18:43:06.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-11T18:43:33.000Z (over 12 years ago)
- Last Synced: 2023-04-15T11:17:50.243Z (over 1 year ago)
- Language: C
- Size: 105 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is an OpenGL demo featuring simple per-pixel
diffuse lighting using a pixel shader written in
Cg; the demo was posted along with an article at
http://www.3ddrome.com/
It's been developed and tested on Slackware Linux.To build it, just run 'make' (you may have to edit the
Makefile). This will create an executable called 'main'
that you can then run. Press the 'Escape' key to exit
the demo.The code is distributed under a BSD-style license.
Josh Beam
http://joshbeam.com/