Changes to Light

-=-=-=-=-=-=-=-=

-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
This commit is contained in:
Juan Linietsky 2015-04-03 01:43:37 -03:00
parent 9264a4ab12
commit 590f001b02
4 changed files with 4 additions and 0 deletions

BIN
2d/light_mask/burano.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 952 KiB

4
2d/light_mask/engine.cfg Normal file
View File

@ -0,0 +1,4 @@
[application]
name="Using Lights As Mask"
main_scene="res://lightmask.scn"

BIN
2d/light_mask/lightmask.scn Normal file

Binary file not shown.

BIN
2d/light_mask/splat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB