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: 02d288d42bf385fa4b18388d6bc32fd863228a78 (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
#endif