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

gpu_shader_material_velvet.glsl « material « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9646ffff8cae7c99635fddd663a4f6b316c7fb53 (plain)
1
2
3
4
5
6
7
8
9
#ifndef VOLUMETRICS
void node_bsdf_velvet(vec4 color, float sigma, vec3 N, out Closure result)
{
  node_bsdf_diffuse(color, 0.0, N, result);
}
#else
/* Stub velvet because it is not compatible with volumetrics. */
#  define node_bsdf_velvet
#endif