Eevee : SSR : Fix incorrect framebuffer issue.
It was cause by a texture without mipmap levels.
This commit is contained in:
parent
c90ec276b8
commit
5e6329b2f8
|
@ -584,7 +584,7 @@ void EEVEE_effects_init(EEVEE_SceneLayerData *sldata, EEVEE_Data *vedata)
|
|||
/* Only allocate if at least one effect is activated */
|
||||
if (effects->enabled_effects != 0) {
|
||||
/* Ping Pong buffer */
|
||||
DRWFboTexture tex = {&txl->color_post, DRW_TEX_RGB_11_11_10, DRW_TEX_FILTER};
|
||||
DRWFboTexture tex = {&txl->color_post, DRW_TEX_RGB_11_11_10, DRW_TEX_FILTER | DRW_TEX_MIPMAP};
|
||||
|
||||
DRW_framebuffer_init(&fbl->effect_fb, &draw_engine_eevee_type,
|
||||
(int)viewport_size[0], (int)viewport_size[1],
|
||||
|
|
Loading…
Reference in New Issue