mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Subsurface scattering material param is now working!
This commit is contained in:
parent
8c6a586b75
commit
27a46d78ec
17 changed files with 378 additions and 49 deletions
|
@ -1555,7 +1555,7 @@ void VisualServerScene::_light_instance_update_shadow(Instance *p_instance,const
|
|||
float angle = VSG::storage->light_get_param( p_instance->base, VS::LIGHT_PARAM_SPOT_ANGLE);
|
||||
|
||||
CameraMatrix cm;
|
||||
cm.set_perspective( angle, 1.0, 0.01, radius );
|
||||
cm.set_perspective( angle*2.0, 1.0, 0.01, radius );
|
||||
|
||||
|
||||
Vector<Plane> planes = cm.get_projection_planes(p_instance->transform);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue