1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

lot of work on 2D lighting and isometric maps

added a new demo, isometric_light that does full isometric sorting,
lights, shadows, etc.
This commit is contained in:
Juan Linietsky
2015-03-09 02:34:56 -03:00
parent 2c2894ceb6
commit 09489e3a78
214 changed files with 1093 additions and 309 deletions

View File

@@ -582,6 +582,7 @@ public:
int layer_min;
int layer_max;
int item_mask;
int item_shadow_mask;
bool subtract;
RID texture;
Vector2 texture_offset;
@@ -613,6 +614,7 @@ public:
layer_min=0;
layer_max=0;
item_mask=1;
item_shadow_mask=-1;
subtract=false;
texture_cache=NULL;
next_ptr=NULL;