Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gpu_shader_material_anisotropic.glsl « material « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a8a900b40c6f87d862711abfe02d2d6ecea3aa0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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
#endif