Skip to content

afiskon/cpp-opengl-lighting

Repository files navigation

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.