News for hackers. Stuff that matters.
Re:Illuminated.js – 2D lights and shadows rendering engine f... by gren on Friday May 11, 2012 @05:39AM (#3958415)
eah I think the default scene use too much samples, like 51 for the right light.

Now my technique of combining shadow samples together is probably not the most efficient, I draw them with source-over and an alpha which is also a wrong hacky current implementation... but maybe using the CanvasData would be less efficient (technically I need to make the average of shadow samples' grayscales) - well we never know, I haven't tried yet ;)

I would be happy to have any contribution in the library :)

Re:Illuminated.js – 2D lights and shadows rendering engine f... by timb on Friday May 11, 2012 @09:17AM (#3959014)
the editor could turn down samples for lights while dragging, and turn samples back up when dragging is finished.