Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 570 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 570 Bytes

ocl-lights

Pixel-perfect 2D shadows on the GPU

CG++ Lights

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