Blender Git Loki

Git Commits -> Revision 08a2c5f

Revision 08a2c5f by Clément Foucault (master)
June 2, 2018, 19:16 (GMT)
Eevee: Add support for hair random property.

Do note that it does not match cycles implementation.

Also we could precompute the hash per strand before rendering but that would
suggest it's not per engine specific.

If we make the random value internal to blender then it won't be a matter
because other renderers will have access to the same value.

Commit Details:

Full Hash: 08a2c5f2249c89a07cc6c37b28d13a611283ef73
Parent Commit: 4430bd3
Lines Changed: +18, -1

4 Modified Paths:

/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+14, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+1, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl (+2, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021