Browse Source

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

Juan Linietsky 10 years ago
parent
commit
590f001b02
4 changed files with 4 additions and 0 deletions
  1. BIN
      2d/light_mask/burano.png
  2. 4 0
      2d/light_mask/engine.cfg
  3. BIN
      2d/light_mask/lightmask.scn
  4. BIN
      2d/light_mask/splat.png

BIN
2d/light_mask/burano.png


+ 4 - 0
2d/light_mask/engine.cfg

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

BIN
2d/light_mask/lightmask.scn


BIN
2d/light_mask/splat.png