Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 999 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 999 Bytes

Light Shafts

This is a project that presents how to implement a light shaft post process with OpenGL.

How to build

This project uses CMake to generate build solution.
It requires OpenGL to be installed on the building machine.
It requires GLEW and GLFW libraries (give CMake paths to their libraries and includes).
Data directory must be in the same directory the executable is.

Controls

Hold right mouse button to rotate camera
W/S/A/D - move camera
Y/H/G/J - move light source
I/K - move light source up and down

Configuration

You can change various settings in Data/config.ini to alter such things like the color of light or number of light shafts samples.

More

You can read more about light shafts in the blog entry: https://zompidev.blogspot.com/2014/12/light-shafts.html

You can download a working .exe file from here: https://drive.google.com/file/d/1BM-YR6DK2pkTnrrAu7lW61b08jBgOSIb