1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Add light size to Sky Shaders

This commit is contained in:
clayjohn
2020-04-16 23:38:22 -07:00
parent 30ab5c9baa
commit 7cd2ff309c
8 changed files with 44 additions and 53 deletions

View File

@@ -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++;
}