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

gpu_shader_material_toon.glsl « material « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bbfc99ccc73bd66d465b1b05be0b4f3c7314380f (plain)
1
2
3
4
5
6
7
8
9
#ifndef VOLUMETRICS
void node_bsdf_toon(vec4 color, float size, float tsmooth, vec3 N, out Closure result)
{
  node_bsdf_diffuse(color, 0.0, N, result);
}
#else
/* Stub toon because it is not compatible with volumetrics. */
#  define node_bsdf_toon(a, b, c, d, e) (e = CLOSURE_DEFAULT)
#endif