diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-24 22:29:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 22:29:39 +0200 |
commit | 60238226d3b581d4f22af615931cc052b149aab8 (patch) | |
tree | 69d5477b8675ff6d16616336266358cb95921e82 /scene/3d/lightmapper.h | |
parent | fbb5e24d1e9cadeddccde6aeab7e85b621adbf00 (diff) | |
parent | e995764e50df96e22abdcaadc7d2f413d5c1cf6e (diff) |
Merge pull request #62054 from techiepriyansh/soft-shadows-lightmapper
Add support for soft shadows to the GPU lightmapper
Diffstat (limited to 'scene/3d/lightmapper.h')
-rw-r--r-- | scene/3d/lightmapper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/3d/lightmapper.h b/scene/3d/lightmapper.h index 4e6f76e360..9b973fd6bc 100644 --- a/scene/3d/lightmapper.h +++ b/scene/3d/lightmapper.h @@ -176,9 +176,9 @@ public: }; virtual void add_mesh(const MeshData &p_mesh) = 0; - virtual void add_directional_light(bool p_static, const Vector3 &p_direction, const Color &p_color, float p_energy, float p_angular_distance) = 0; - virtual void add_omni_light(bool p_static, const Vector3 &p_position, const Color &p_color, float p_energy, float p_range, float p_attenuation, float p_size) = 0; - virtual void add_spot_light(bool p_static, const Vector3 &p_position, const Vector3 p_direction, const Color &p_color, float p_energy, float p_range, float p_attenuation, float p_spot_angle, float p_spot_attenuation, float p_size) = 0; + virtual void add_directional_light(bool p_static, const Vector3 &p_direction, const Color &p_color, float p_energy, float p_angular_distance, float p_shadow_blur) = 0; + virtual void add_omni_light(bool p_static, const Vector3 &p_position, const Color &p_color, float p_energy, float p_range, float p_attenuation, float p_size, float p_shadow_blur) = 0; + virtual void add_spot_light(bool p_static, const Vector3 &p_position, const Vector3 p_direction, const Color &p_color, float p_energy, float p_range, float p_attenuation, float p_spot_angle, float p_spot_attenuation, float p_size, float p_shadow_blur) = 0; virtual void add_probe(const Vector3 &p_position) = 0; virtual BakeError bake(BakeQuality p_quality, bool p_use_denoiser, int p_bounces, float p_bias, int p_max_texture_size, bool p_bake_sh, GenerateProbes p_generate_probes, const Ref<Image> &p_environment_panorama, const Basis &p_environment_transform, BakeStepFunc p_step_function = nullptr, void *p_step_userdata = nullptr) = 0; |