1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

ability to change shadow color in light2d

This commit is contained in:
Juan Linietsky
2015-06-24 18:15:43 -03:00
parent 48f1d02da4
commit 52308aba68
9 changed files with 41 additions and 1 deletions

View File

@@ -592,6 +592,7 @@ public:
RID shadow_buffer;
int shadow_buffer_size;
float shadow_esm_mult;
Color shadow_color;
void *texture_cache; // implementation dependent
@@ -610,6 +611,7 @@ public:
CanvasLight() {
enabled=true;
color=Color(1,1,1);
shadow_color=Color(0,0,0,0);
height=0;
z_min=-1024;
z_max=1024;