shadows were not working in-editor for nvidia, fixed now

This commit is contained in:
Juan Linietsky 2017-02-06 20:18:35 -03:00
parent 5cc63dee0f
commit 6bfaa0f12c
7 changed files with 24 additions and 11 deletions

View file

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