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: 989f18b881a90e18385675a579fb85e62e109f36 (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(a, b, c, d) (d = CLOSURE_DEFAULT)
#endif