summaryrefslogtreecommitdiff
path: root/demos/2d/light_mask
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-04-03 01:43:37 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-04-03 01:43:37 -0300
commit9fa1698c7420bae2c6353bf300ce2cdb73434bf6 (patch)
tree7d67492203476b2599621ebe258987c94db79b88 /demos/2d/light_mask
parent42d41a3fbc79ff1014d3b65666d6f80240520c8c (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.pngbin0 -> 974437 bytes
-rw-r--r--demos/2d/light_mask/engine.cfg4
-rw-r--r--demos/2d/light_mask/lightmask.scnbin0 -> 2916 bytes
-rw-r--r--demos/2d/light_mask/splat.pngbin0 -> 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
new file mode 100644
index 0000000000..6eec09d585
--- /dev/null
+++ b/demos/2d/light_mask/burano.png
Binary files differ
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
new file mode 100644
index 0000000000..08805f44c6
--- /dev/null
+++ b/demos/2d/light_mask/lightmask.scn
Binary files differ
diff --git a/demos/2d/light_mask/splat.png b/demos/2d/light_mask/splat.png
new file mode 100644
index 0000000000..8c35f068a0
--- /dev/null
+++ b/demos/2d/light_mask/splat.png
Binary files differ