Add a shadow opacity property to Light3D

This can be used to make shadows translucent for a specific light.

The light distance fade system also uses this to smoothly fade the shadow
when the light fade transition distance is greater than 0.
This commit is contained in:
Hugo Locurcio 2022-06-10 12:47:06 +02:00
parent f85a816965
commit baaa7503c7
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
18 changed files with 65 additions and 36 deletions

View file

@ -425,6 +425,7 @@ public:
LIGHT_PARAM_SHADOW_NORMAL_BIAS,
LIGHT_PARAM_SHADOW_BIAS,
LIGHT_PARAM_SHADOW_PANCAKE_SIZE,
LIGHT_PARAM_SHADOW_OPACITY,
LIGHT_PARAM_SHADOW_BLUR,
LIGHT_PARAM_SHADOW_VOLUMETRIC_FOG_FADE,
LIGHT_PARAM_TRANSMITTANCE_BIAS,