Blender Git Loki

Git Commits -> Revision 32c5972

Revision 32c5972 by Clément Foucault (master)
June 3, 2018, 10:29 (GMT)
Workbench: Rework hair support.

Now hairs are shaded properly in workbench and support texturing.

I also added a 10% random normal direction per hair to have a bit more
variation in the shading. This is hardcoded for now.

Commit Details:

Full Hash: 32c5972653041a3423122b5a5ae791ef536b87ed
Parent Commit: 38bf3b8
Lines Changed: +266, -84

8 Modified Paths:

/source/blender/draw/engines/workbench/shaders/workbench_deferred_composite_frag.glsl (+8, -4) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_forward_transparent_accum_frag.glsl (+6, -9) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_frag.glsl (+23, -12) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_vert.glsl (+46, -10) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+70, -15) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+97, -28) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+8, -3) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+8, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021