Skip to content

LightShafts post process in OpenGL.

License

Notifications You must be signed in to change notification settings

zompi2/LightShafts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

LightShafts post process in OpenGL.

Topics

Resources

License

Stars

Watchers

Forks

Languages