GitHunt
AF

afiskon/cpp-opengl-lighting

cpp-opengl-lighting

Usage:

    git submodule init
    git submodule update
    mkdir build
    cd build
    cmake ..
    make
    cd ..
    ./build/emdconv models/skybox.blend skybox.emd
    ./build/lighting
  • WASD + mouse - move camera
  • M - enable/disable mouse interception
  • X - enable/disable wireframes mode
  • 1 - enable/disable white directional light
  • 2 - enable/disable red point light
  • 3 - enable/disable blue spot light
  • Q - quit

Tested on Linux, MacOS and Windows.

Languages

C++87.7%GLSL8.3%CMake2.4%C1.6%

Contributors

MIT License
Created October 1, 2015
Updated January 3, 2026