Cycles: Fix for hair transmission BSDF not returning proper label

This commit is contained in:
Sergey Sharybin 2015-02-17 22:34:48 +05:00
parent 6f820664c4
commit f3e831f02d
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ ccl_device int bsdf_hair_transmission_sample(const ShaderClosure *sc, float3 Ng,
kernel_assert(dot(locy, *omega_in) < 0.0f);
return LABEL_GLOSSY;
return LABEL_TRANSMIT|LABEL_GLOSSY;
}
CCL_NAMESPACE_END