Blender Git Loki
Git Commits -> Revision c4a3ba6
Revision c4a3ba6 by Clément Foucault (eevee-rewrite, temp-eevee-gpencil-rewrite, viewport-compositor) June 30, 2021, 21:55 (GMT) |
EEVEE: Hair: Add back shaded hair support Same implementation as before but it is less intrusive towards the shading Node glsl code. Hair shaders also now supports displacement. |
Commit Details:
Full Hash: c4a3ba6f83d98d2f161b42ed7a8c496121f34b89
Parent Commit: e962002
Lines Changed: +263, -31
1 Added Path:
/source/blender/draw/engines/eevee/eevee_hair.cc (+74, -0) (View)
13 Modified Paths:
/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.cc (+12, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.hh (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_material.cc (+19, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_material.hh (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_shader.cc (+11, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_nodetree_eval_lib.glsl (+10, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_hair_vert.glsl (+72, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_lib.glsl (+26, -0) (Diff)
/source/blender/draw/intern/draw_common.h (+8, -0) (Diff)
/source/blender/draw/intern/shaders/common_attribute_lib.glsl (+8, -0) (Diff)
/source/blender/draw/intern/shaders/common_hair_lib.glsl (+13, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_hair_info.glsl (+6, -14) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.cc (+12, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.hh (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_material.cc (+19, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_material.hh (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_shader.cc (+11, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_nodetree_eval_lib.glsl (+10, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_hair_vert.glsl (+72, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_surface_lib.glsl (+26, -0) (Diff)
/source/blender/draw/intern/draw_common.h (+8, -0) (Diff)
/source/blender/draw/intern/shaders/common_attribute_lib.glsl (+8, -0) (Diff)
/source/blender/draw/intern/shaders/common_hair_lib.glsl (+13, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_hair_info.glsl (+6, -14) (Diff)