https://github.com/ggerganov/ocl-lights
Pixel perfect 2D shadows on the GPU
https://github.com/ggerganov/ocl-lights
computer-graphics opencl pixel-perfect shadowmapping
Last synced: 10 months ago
JSON representation
Pixel perfect 2D shadows on the GPU
- Host: GitHub
- URL: https://github.com/ggerganov/ocl-lights
- Owner: ggerganov
- License: mit
- Created: 2017-08-27T13:23:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-27T13:32:38.000Z (almost 9 years ago)
- Last Synced: 2025-06-22T05:02:51.165Z (12 months ago)
- Topics: computer-graphics, opencl, pixel-perfect, shadowmapping
- Language: C++
- Size: 39.1 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ocl-lights
Pixel-perfect 2D shadows on the GPU
Calculated shadowmap for each frame is on the right. The shadowmap is computed on the GPU using OpenCL.
## Building & running
git clone https://github.com/ggerganov/ocl-lights
cd ocl-lights
git submodule update --init
make
./bin/ocl-lights
## Dependencies
- OpenGL
- OpenCL
- GLFW3
