Skip to content

ggerganov/ocl-lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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