aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/light_2d.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make both lights and occluders stop working if hidden, fixes #2437Juan Linietsky2016-01-011-1/+16
|
* -New mask mode for lights, makes using masks MUCH easier.Juan Linietsky2015-12-081-1/+2
|
* ability to change shadow color in light2dJuan Linietsky2015-06-241-0/+16
|
* Changes to LightJuan Linietsky2015-04-031-9/+33
| | | | | | | | -=-=-=-=-=-=-=-= -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
* avoid function naming conflict on light scaleJuan Linietsky2015-03-221-5/+5
|
* added spatial and node2d helper methodsJuan Linietsky2015-03-221-5/+5
| | | | | to perform operations such as translaiton, rotation, etc directly on nodes.
* small optimizations to isometric light demoJuan Linietsky2015-03-101-1/+25
| | | | | should work faster, and even faster if exported.. as textures have been optimized.
* lot of work on 2D lighting and isometric mapsJuan Linietsky2015-03-091-0/+17
| | | | | added a new demo, isometric_light that does full isometric sorting, lights, shadows, etc.
* support for 2D shadow castersJuan Linietsky2015-03-021-8/+41
| | | | | | | | | | 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.
* support for light and normal mapping in 2DJuan Linietsky2015-02-181-9/+94
|
* -Some more work on 2D Lights (NOT FUNCTIONAL YET!)reduz2015-02-161-0/+182