diff options
author | Thomas Dinges <blender@dingto.org> | 2013-10-08 21:07:18 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-10-08 21:07:18 +0400 |
commit | e6ce07a5d47bcaabceb10e164b7acaf2c55072fe (patch) | |
tree | 473625588e394241d014df29b1809f3cfea6e28c /intern/cycles/kernel/osl/osl_shader.cpp | |
parent | 03f7885b0a87de71f677c3f733bbf870140e5d36 (diff) |
Cycles / SSS:
* Remove the compatible falloff SSS implementation. We shouldn't support two implementations in the long term, and 2.7x is a good release number do break some compatibility as well.
* Version patch added, so Files with Compatible falloff will automatically use Cubic now.
It was already mentioned in the manual, that Compatible is deprecated.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#BSSRDF
Diffstat (limited to 'intern/cycles/kernel/osl/osl_shader.cpp')
-rw-r--r-- | intern/cycles/kernel/osl/osl_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/osl/osl_shader.cpp b/intern/cycles/kernel/osl/osl_shader.cpp index 625ad263f7f..18e8fee4348 100644 --- a/intern/cycles/kernel/osl/osl_shader.cpp +++ b/intern/cycles/kernel/osl/osl_shader.cpp @@ -253,7 +253,7 @@ static void flatten_surface_closure_tree(ShaderData *sd, int path_flag, /* disable in case of diffuse ancestor, can't see it well then and * adds considerably noise due to probabilities of continuing path * getting lower and lower */ - if(sc.type != CLOSURE_BSSRDF_COMPATIBLE_ID && (path_flag & PATH_RAY_DIFFUSE_ANCESTOR)) + if(path_flag & PATH_RAY_DIFFUSE_ANCESTOR) bssrdf->radius = make_float3(0.0f, 0.0f, 0.0f); /* create one closure for each color channel */ |