sections/running-the-demo.md
:arrow_backward: :arrow_double_up: :arrow_up_small: :arrow_down_small: :arrow_forward:
After you've built the example code, you can now run the executable or demo.
./3d-game-shaders-for-beginners
Here's how you run it on Linux or Mac.
3d-game-shaders-for-beginners.exe
Here's how you run it on Windows.
The demo comes with both keyboard and mouse controls to move the camera around, toggle on and off the different effects, adjust the fog, and view the various different framebuffer textures.
You can rotate the scene around by holding down the <kbd>Left Mouse</kbd> button and dragging. Hold down the <kbd>Right Mouse</kbd> button and drag to move up, down, left, and/or right. To zoom in, roll the <kbd>Mouse Wheel</kbd> forward. To zoom out, roll the <kbd>Mouse Wheel</kbd> backward.
You can also change the focus point using the mouse. To change the focus point, click anywhere on the scene using the <kbd>Middle Mouse</kbd> button.
(C) 2019 David Lettier
:arrow_backward: :arrow_double_up: :arrow_up_small: :arrow_down_small: :arrow_forward: