Skip to content

mchamberlain/Cel-Shader

Repository files navigation

Cel Shader

A simple GLSL based cel shading example. I originally wrote this in 2007.

Required libraries: OpenGL, GLU, (free)glut, GLEW

This program uses GLSL and requires an OpenGL implementation, and hardware, that is compatibale with the OpenGL 2.0 standard and higher.

The model used in the third scene was obtained from: http://www.katorlegaz.com/3d_models/ and is licensed under a Creative Commons Attribution 3.0 United States License and is Copyright © 2003-2012 Andrew Kator & Jennifer Legaz. It was exported from Blender with a customized raw binary exporter.

Keys

  • Spacebar or most other unused keys: go to the next scene
  • up arrow: adjust the camera's pitch -
  • down arrow: adjust the camera's pitch +
  • left arrow: rotate the camera around the scene in the clockwise direction
  • right arrow: rotate the camera around the scene in the counter clockwise direction
  • +: move the camera closer to the object(s)
  • -: move the camera away from the object(s)
  • Esc: quits the program

Author

Morné Chamberlain

http://github.com/mchamberlain

About

A basic GLSL cel shading implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published