summaryrefslogtreecommitdiffstats
path: root/scene/2d/light_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/light_2d.h')
-rw-r--r--scene/2d/light_2d.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/scene/2d/light_2d.h b/scene/2d/light_2d.h
index dbfd233d39..89f351c3cd 100644
--- a/scene/2d/light_2d.h
+++ b/scene/2d/light_2d.h
@@ -17,6 +17,8 @@ private:
int layer_min;
int layer_max;
int item_mask;
+ int shadow_buffer_size;
+ float shadow_esm_multiplier;
bool subtract_mode;
Ref<Texture> texture;
Vector2 texture_offset;
@@ -68,6 +70,12 @@ public:
void set_shadow_enabled( bool p_enabled);
bool is_shadow_enabled() const;
+ void set_shadow_buffer_size( int p_size );
+ int get_shadow_buffer_size() const;
+
+ void set_shadow_esm_multiplier( float p_multiplier);
+ float get_shadow_esm_multiplier() const;
+
virtual Rect2 get_item_rect() const;
Light2D();