Tag Info

New answers tagged


When you want a really advanced light engine where objects create shadows, you should look into WebGL and use a 3d engine. But when you don't need accurate shading and only want objects to create cones of light which illuminate the canvas without respect to content, this is what you could do. Have two canvases, the normal scene and a second background ...

Top 50 recent answers are included