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

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