You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
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:
@@ -1911,6 +1911,7 @@ void RenderingServer::_bind_methods() {
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_SHADOW_NORMAL_BIAS);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_SHADOW_BIAS);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_SHADOW_PANCAKE_SIZE);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_SHADOW_OPACITY);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_SHADOW_BLUR);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_SHADOW_VOLUMETRIC_FOG_FADE);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_TRANSMITTANCE_BIAS);
|
||||
|
||||
Reference in New Issue
Block a user