Blender Git Loki
Git Commits -> Revision ec257f3
December 27, 2014, 10:23 (GMT) |
Primitive hair lighting in OpenGL solid shading, cleanup of strands drawing code for edit mode. The lighting uses the same method as the particle hair, interpreting strand direction as the normal. This is nowhere near realistic hair shading, but doing this with line shading alone in the fixed-function pipeline is probably not possible. A GLSL shader could be used instead for a more realistic alternative as part of the viewport project. At least this simple shading mode gives some orientation feedback while editing hair. |
Commit Details:
Full Hash: ec257f395bbad1d23a817f0344f7d8e89acde327
Parent Commit: aec662d
Lines Changed: +137, -53
1 Modified Path:
/source/blender/editors/space_view3d/drawstrands.c (+137, -53) (Diff)