Eevee: Refraction: Add "thickness" parameter.
authorClément Foucault <foucault.clem@gmail.com>
Thu, 10 Aug 2017 13:43:15 +0000 (15:43 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Thu, 10 Aug 2017 13:43:48 +0000 (15:43 +0200)
commit6e2f17ea02be5caa9eee8a68ccd558474030b29a
tree29584459e5306ede452923a4956b17ac85eacc3d
parent896154d15de716ef360d0187cb89f44102ac31ef
Eevee: Refraction: Add "thickness" parameter.

This enables to fake a second refraction event. This is great to simulate thin planar objects such as glass panels.
release/scripts/startup/bl_ui/properties_material.py
source/blender/draw/engines/eevee/eevee_materials.c
source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl
source/blender/gpu/shaders/gpu_shader_material.glsl
source/blender/makesdna/DNA_material_types.h
source/blender/makesrna/intern/rna_material.c