Eevee: Hair: Disable SSR for hairs.
[blender.git] / source / blender / draw / engines / eevee / shaders / bsdf_common_lib.glsl
index 80d305cb1e8b2225d4624555f5937ca315f0c5b9..704b039e0f60ef6bd7208b4a686ac60639937fbd 100644 (file)
@@ -671,6 +671,7 @@ struct Closure {
 /* This is hacking ssr_id to tag transparent bsdf */
 #define TRANSPARENT_CLOSURE_FLAG -2
 #define REFRACT_CLOSURE_FLAG -3
+#define NO_SSR -999
 
 #  ifdef USE_SSS
 #    ifdef USE_SSS_ALBEDO