Commit: 13ca9873c9e2038e16609faf894d1741ba258979
Author: Thomas Dinges
Date: Wed Oct 29 09:42:19 2014 +0100
Branches: master
https://developer.blender.org/rB13ca9873c9e2038e16609faf894d1741ba258979
Cleanup: Remove unused function in Translucent BSDF.
===================================================================
M intern/cycles/kernel/closure/bsdf_diffuse.h
===================================================================
diff --git a/intern/cycles/kernel/closure/bsdf_diffuse.h
b/intern/cycles/kernel/closure/bsdf_diffuse.h
index 949fe86..371f467 100644
--- a/intern/cycles/kernel/closure/bsdf_diffuse.h
+++ b/intern/cycles/kernel/closure/bsdf_diffuse.h
@@ -108,11 +108,6 @@ ccl_device float3 bsdf_translucent_eval_transmit(const
ShaderClosure *sc, const
return make_float3 (cos_pi, cos_pi, cos_pi);
}
-ccl_device float bsdf_translucent_albedo(const ShaderClosure *sc, const float3
I)
-{
- return 1.0f;
-}
-
ccl_device int bsdf_translucent_sample(const ShaderClosure *sc, float3 Ng,
float3 I, float3 dIdx, float3 dIdy, float randu, float randv, float3 *eval,
float3 *omega_in, float3 *domega_in_dx, float3 *domega_in_dy, float *pdf)
{
float3 N = sc->N;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs