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

gpu_shader_material_volume_scatter.glsl « material « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 02c54658be5e02450e13eba7e7407ee8e0c46d1a (plain)
1
2
3
4
5
6
7
8
void node_volume_scatter(vec4 color, float density, float anisotropy, out Closure result)
{
#ifdef VOLUMETRICS
  result = Closure(vec3(0.0), color.rgb * density, vec3(0.0), anisotropy);
#else
  result = CLOSURE_DEFAULT;
#endif
}