(function(){
// Importing relevant classes
var Lamp = illuminated.Lamp
, RectangleObject = illuminated.RectangleObject
, DiscObject = illuminated.DiscObject
, Vec2 = illuminated.Vec2
, Lighting = illuminated.Lighting
;
// YOUR CODE
}());
|
|
1 light, 2 objects, rough shadows |
|
Using soft shadows with sampling |
|
Add one light |
|
Draw white objects + DarkMask |
|
Adding animations |