mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
shadows were not working in-editor for nvidia, fixed now
This commit is contained in:
parent
5cc63dee0f
commit
6bfaa0f12c
7 changed files with 24 additions and 11 deletions
|
@ -2239,7 +2239,6 @@ void VisualServerScene::_render_scene(const Transform p_cam_transform,const Came
|
|||
bool redraw = VSG::scene_render->shadow_atlas_update_light(p_shadow_atlas,light->instance,coverage,light->last_version);
|
||||
|
||||
if (redraw) {
|
||||
print_line("redraw shadow");
|
||||
//must redraw!
|
||||
_light_instance_update_shadow(ins,p_cam_transform,p_cam_projection,p_cam_orthogonal,p_shadow_atlas,scenario);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue