Blender Git Loki

Git Commits -> Revision 6a88f83

Revision 6a88f83 by Jeroen Bakker (master)
September 24, 2021, 05:44 (GMT)
Hair Info Length Attribute

Goal is to add the length attribute to the Hair Info node, for better control over color gradients or similar along the hair.

Reviewed By: #eevee_viewport, brecht

Differential Revision: https://developer.blender.org/D10481

Commit Details:

Full Hash: 6a88f83d679f281d7adb3798ab4770069a63c2da
Parent Commit: 0f764ad
Lines Changed: +223, -63

26 Modified Paths:

/intern/cycles/blender/blender_curves.cpp (+18, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+1, -0) (Diff)
/intern/cycles/kernel/osl/osl_services.h (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_hair_info.osl (+2, -0) (Diff)
/intern/cycles/kernel/svm/svm_geometry.h (+2, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/attribute.cpp (+5, -0) (Diff)
/intern/cycles/render/nodes.cpp (+10, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_cryptomatte.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+3, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_motion_blur.c (+1, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_engine.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_cache_impl_curve.cc (+3, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl_hair.c (+42, -17) (Diff)
/source/blender/draw/intern/draw_cache_impl_particles.c (+59, -28) (Diff)
/source/blender/draw/intern/draw_common.h (+3, -1) (Diff)
/source/blender/draw/intern/draw_hair.c (+10, -6) (Diff)
/source/blender/draw/intern/draw_hair_private.h (+6, -0) (Diff)
/source/blender/draw/intern/shaders/common_hair_lib.glsl (+6, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+17, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_codegen_lib.glsl (+10, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_hair_info.glsl (+4, -1) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+7, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_hair_info.c (+6, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021