diff options
Diffstat (limited to 'modules/lightmapper_rd/lm_common_inc.glsl')
-rw-r--r-- | modules/lightmapper_rd/lm_common_inc.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/lightmapper_rd/lm_common_inc.glsl b/modules/lightmapper_rd/lm_common_inc.glsl index 0ff455936e..f8a0cd16de 100644 --- a/modules/lightmapper_rd/lm_common_inc.glsl +++ b/modules/lightmapper_rd/lm_common_inc.glsl @@ -56,8 +56,8 @@ struct Light { float range; float attenuation; - float spot_angle; - float spot_attenuation; + float cos_spot_angle; + float inv_spot_attenuation; bool static_bake; uint pad[3]; |