diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-11-01 18:36:05 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-11-01 18:36:05 +0300 |
commit | a62e79022a1c3b133adc0f4f2e100d4e5dd42dd5 (patch) | |
tree | 7e1129131a00bde3dc80734fd13918b0891e2bf7 /source/blender | |
parent | b7d1621477e351f8cef28536e6a55ac8c131bb7e (diff) |
Eevee: Fix refraction & alpha blend object disapearing
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_screen_raytrace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_screen_raytrace.c b/source/blender/draw/engines/eevee/eevee_screen_raytrace.c index b4e81c0e49a..bb593867a52 100644 --- a/source/blender/draw/engines/eevee/eevee_screen_raytrace.c +++ b/source/blender/draw/engines/eevee/eevee_screen_raytrace.c @@ -281,6 +281,9 @@ void EEVEE_refraction_compute(EEVEE_SceneLayerData *UNUSED(sldata), EEVEE_Data * DRW_framebuffer_texture_attach(fbl->refract_fb, txl->refract_color, 0, 0); DRW_framebuffer_blit(fbl->main, fbl->refract_fb, false); EEVEE_downsample_buffer(vedata, fbl->downsample_fb, txl->refract_color, 9); + + /* Restore */ + DRW_framebuffer_bind(fbl->main); } } |