16 lines
523 B
GLSL
16 lines
523 B
GLSL
#ifndef VOLUMETRICS
|
|
void node_bsdf_anisotropic(vec4 color,
|
|
float roughness,
|
|
float anisotropy,
|
|
float rotation,
|
|
vec3 N,
|
|
vec3 T,
|
|
out Closure result)
|
|
{
|
|
node_bsdf_glossy(color, roughness, N, -1, result);
|
|
}
|
|
#else
|
|
/* Stub anisotropic because it is not compatible with volumetrics. */
|
|
# define node_bsdf_anisotropic(a, b, c, d, e, f, g) (g = CLOSURE_DEFAULT)
|
|
#endif
|