Eevee: Hair: Disable SSR for hairs.
authorClément Foucault <foucault.clem@gmail.com>
Sun, 13 May 2018 22:18:00 +0000 (00:18 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Sun, 13 May 2018 22:18:00 +0000 (00:18 +0200)
commita0c564f86aafd17f1614620dbe918898635a1e35
tree27007fcd067b55a95b90893ff5efe958188252cc
parent2c1396b6cbbe503a1d1af0a7da1f09d3086abec6
Eevee: Hair: Disable SSR for hairs.

SSR does not work with hair strands. Basically, the rays are too much
random to ever converge properly and just result in a soup of self
inter reflections.

So forcing it to not produce any SSR. Could potentially save some bandwidth
by not rendering hair to the SSR buffers.
source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl
source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl