1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

-Fixed occluder rendering, closes #8560

-Ability to smooth out 2D shadow filters
This commit is contained in:
Juan Linietsky
2017-06-13 01:23:04 -03:00
parent 95c248e24f
commit a8a1f2e2a8
12 changed files with 49 additions and 11 deletions

View File

@@ -546,6 +546,7 @@ public:
float shadow_gradient_length;
VS::CanvasLightShadowFilter shadow_filter;
Color shadow_color;
float shadow_smooth;
void *texture_cache; // implementation dependent
Rect2 rect_cache;
@@ -584,6 +585,7 @@ public:
shadow_buffer_size = 256;
shadow_gradient_length = 0;
shadow_filter = VS::CANVAS_LIGHT_FILTER_NONE;
shadow_smooth = 0.0;
}
};