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
}
|