diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-04-03 01:43:37 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-04-03 01:43:37 -0300 |
commit | 9fa1698c7420bae2c6353bf300ce2cdb73434bf6 (patch) | |
tree | 7d67492203476b2599621ebe258987c94db79b88 /demos/2d/light_mask | |
parent | 42d41a3fbc79ff1014d3b65666d6f80240520c8c (diff) |
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
Diffstat (limited to 'demos/2d/light_mask')
-rw-r--r-- | demos/2d/light_mask/burano.png | bin | 0 -> 974437 bytes | |||
-rw-r--r-- | demos/2d/light_mask/engine.cfg | 4 | ||||
-rw-r--r-- | demos/2d/light_mask/lightmask.scn | bin | 0 -> 2916 bytes | |||
-rw-r--r-- | demos/2d/light_mask/splat.png | bin | 0 -> 18255 bytes |
4 files changed, 4 insertions, 0 deletions
diff --git a/demos/2d/light_mask/burano.png b/demos/2d/light_mask/burano.png Binary files differnew file mode 100644 index 0000000000..6eec09d585 --- /dev/null +++ b/demos/2d/light_mask/burano.png diff --git a/demos/2d/light_mask/engine.cfg b/demos/2d/light_mask/engine.cfg new file mode 100644 index 0000000000..0e9389f853 --- /dev/null +++ b/demos/2d/light_mask/engine.cfg @@ -0,0 +1,4 @@ +[application] + +name="Using Lights As Mask" +main_scene="res://lightmask.scn" diff --git a/demos/2d/light_mask/lightmask.scn b/demos/2d/light_mask/lightmask.scn Binary files differnew file mode 100644 index 0000000000..08805f44c6 --- /dev/null +++ b/demos/2d/light_mask/lightmask.scn diff --git a/demos/2d/light_mask/splat.png b/demos/2d/light_mask/splat.png Binary files differnew file mode 100644 index 0000000000..8c35f068a0 --- /dev/null +++ b/demos/2d/light_mask/splat.png |