Eevee: Lookdev: Make winmat point to negative Z

This commit is contained in:
Clément Foucault 2019-05-21 20:47:17 +02:00
parent 2b1da51b2f
commit 88a725eff8
1 changed files with 2 additions and 0 deletions

View File

@ -225,6 +225,8 @@ void EEVEE_lookdev_draw(EEVEE_Data *vedata)
/* override matrices */
DRWMatrixState matstate;
unit_m4(matstate.winmat);
/* Look through the negative Z. */
negate_v3(matstate.winmat[2]);
eevee_lookdev_apply_taa(effects, effects->sphere_size, matstate.winmat);