summaryrefslogtreecommitdiff
path: root/scene/2d/light_2d.cpp
AgeCommit message (Collapse)Author
2016-01-01Make both lights and occluders stop working if hidden, fixes #2437Juan Linietsky
2015-12-08-New mask mode for lights, makes using masks MUCH easier.Juan Linietsky
2015-06-24ability to change shadow color in light2dJuan Linietsky
2015-04-03Changes to LightJuan Linietsky
-=-=-=-=-=-=-=-= -Changed material unshaded property for an enum, which supports light-only shading -Added a "Mix" shading mode, useful for using lights as masks -Added energy parameter to Light2D
2015-03-22avoid function naming conflict on light scaleJuan Linietsky
2015-03-22added spatial and node2d helper methodsJuan Linietsky
to perform operations such as translaiton, rotation, etc directly on nodes.
2015-03-10small optimizations to isometric light demoJuan Linietsky
should work faster, and even faster if exported.. as textures have been optimized.
2015-03-09lot of work on 2D lighting and isometric mapsJuan Linietsky
added a new demo, isometric_light that does full isometric sorting, lights, shadows, etc.
2015-03-02support for 2D shadow castersJuan Linietsky
Added support for 2D shadow casters. *DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a CanvasItem and pull this, you will lose them. Shaders now work through a 2D material system similar to 3D. If you don't want to lose the 2D shader code, save the shader as a .shd, then create a material in CanvasItem and re-assign the shader.
2015-02-18support for light and normal mapping in 2DJuan Linietsky
2015-02-16-Some more work on 2D Lights (NOT FUNCTIONAL YET!)reduz