Blender Git Loki
Git Commits -> Revision 7201a32
Revision 7201a32 by Lukas Toenne December 3, 2014, 13:36 (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: 7201a320bcc54ce7806113695616e5c5052cacfe
Parent Commit: e9279e8
Lines Changed: +137, -53
1 Modified Path:
/source/blender/editors/space_view3d/drawstrands.c (+137, -53) (Diff)