From d16342e5fd1f51c01bc1f9becc6ec0704d783de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 9 Aug 2017 16:54:18 +0200 Subject: Eevee: Add Screen Space Refraction. For the moment the only way to enable this is to: - enable Screen Space REFLECTIONS. - enable Screen Space Refraction in the SSR parameters. - enable Screen Space Refraction in the material tab. --- source/blender/makesdna/DNA_material_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_material_types.h') diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 41ad12e63f2..71d1cfc8e70 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -510,7 +510,8 @@ enum { /* blend_flag */ enum { - MA_BL_HIDE_BACKSIDE = (1 << 0), + MA_BL_HIDE_BACKSIDE = (1 << 0), + MA_BL_REFRACTION = (1 << 1), }; /* blend_shadow */ -- cgit v1.2.3