You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Add soft shadows to the CPU lightmapper
Adds the "light_size" property to Lights. It's only considered in baked lightmaps for soft shadowing purposes.
This commit is contained in:
@@ -2002,6 +2002,8 @@ void VisualServer::_bind_methods() {
|
||||
BIND_ENUM_CONSTANT(LIGHT_SPOT);
|
||||
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_ENERGY);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_INDIRECT_ENERGY);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_SIZE);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_SPECULAR);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_RANGE);
|
||||
BIND_ENUM_CONSTANT(LIGHT_PARAM_ATTENUATION);
|
||||
|
||||
Reference in New Issue
Block a user