Eevee: Add support for Alpha clip and Hashed Alpha transparency.
authorClément Foucault <foucault.clem@gmail.com>
Sun, 9 Jul 2017 10:01:29 +0000 (12:01 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Tue, 11 Jul 2017 10:39:35 +0000 (12:39 +0200)
commit05bef13b53e93978716aff8e2efba7ddf72264ed
treef1ff4fbf5a7d4c5e1a8f934b17fa47256d40177a
parente2c0197a96dbac2aee519fbfb142441c6aed0963
Eevee: Add support for Alpha clip and Hashed Alpha transparency.

Hashed Alpha transparency offers a noisy output but has the benefit of being correctly ordered. Noise can be attenuated with Multisampling / AntiAliasing.
release/scripts/startup/bl_ui/properties_material.py
source/blender/blenkernel/intern/material.c
source/blender/draw/engines/eevee/eevee_engine.c
source/blender/draw/engines/eevee/eevee_materials.c
source/blender/draw/engines/eevee/eevee_private.h
source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl
source/blender/draw/engines/eevee/shaders/prepass_frag.glsl
source/blender/draw/engines/eevee/shaders/volumetric_frag.glsl
source/blender/gpu/shaders/gpu_shader_material.glsl
source/blender/makesdna/DNA_material_types.h
source/blender/makesrna/intern/rna_material.c