diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-07 20:33:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 20:33:14 +0100 |
commit | ce332859e931b18996b8b5b2cf56b2196a694127 (patch) | |
tree | f0c7bece59ee144a79fad3fe4522bb1ea440e4de /modules/lightmapper_rd/lightmapper_rd.h | |
parent | 7bb7a3c4a7d2fc8f3f75176d89989253faf0e361 (diff) | |
parent | 99e1ce0690b3281c5496fa0e5f4266a4d62c6824 (diff) |
Merge pull request #41308 from JFonS/fix_spotlight_attenuation
Invert spotlight angle attenuation
Diffstat (limited to 'modules/lightmapper_rd/lightmapper_rd.h')
-rw-r--r-- | modules/lightmapper_rd/lightmapper_rd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/lightmapper_rd/lightmapper_rd.h b/modules/lightmapper_rd/lightmapper_rd.h index bb735baf6c..1c360bd0ab 100644 --- a/modules/lightmapper_rd/lightmapper_rd.h +++ b/modules/lightmapper_rd/lightmapper_rd.h @@ -54,8 +54,8 @@ class LightmapperRD : public Lightmapper { float size; float range; float attenuation; - float spot_angle; - float spot_attenuation; + float cos_spot_angle; + float inv_spot_attenuation; uint32_t static_bake; uint32_t pad[3]; |