forked from bartvdbraak/blender
Cycles: Fix for hair transmission BSDF not returning proper label
This commit is contained in:
parent
6f820664c4
commit
f3e831f02d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user