Blender Git Loki
Git Commits -> Revision 4f89f4e
Revision 4f89f4e by Clément Foucault (tmp-eevee-material-refactor) May 14, 2020, 14:46 (GMT) |
EEVEE: Use alpha hash shader for alpha clip material This reduces the number of shader combination. We use the nodetree material output node shader code to do the alpha comparison. |
Commit Details:
Full Hash: 4f89f4e1b046ef6fb2548bae8b0c9717f6fb5a66
Parent Commit: 2ef54d0
Lines Changed: +27, -19
4 Modified Paths:
/source/blender/draw/engines/eevee/eevee_materials.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/prepass_frag.glsl (+6, -15) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_output_material.glsl (+9, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_output_material.c (+11, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/prepass_frag.glsl (+6, -15) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_output_material.glsl (+9, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_output_material.c (+11, -2) (Diff)