mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Add light size to Sky Shaders
This commit is contained in:
parent
30ab5c9baa
commit
7cd2ff309c
8 changed files with 44 additions and 53 deletions
|
|
@ -1784,6 +1784,7 @@ void RasterizerSceneHighEndRD::_setup_lights(RID *p_light_cull_result, int p_lig
|
|||
sky_light_data.color[2] = light_data.color[2];
|
||||
|
||||
sky_light_data.enabled = true;
|
||||
sky_light_data.size = light_data.softshadow_angle;
|
||||
sky_scene_state.directional_light_count++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue