You've already forked godot
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:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user