blender/intern/cycles/kernel/closure
Brecht Van Lommel de9dffc61e Cycles: initial subsurface multiple scattering support. It's not working as
well as I would like, but it works, just add a subsurface scattering node and
you can use it like any other BSDF.

It is using fully raytraced sampling compatible with progressive rendering
and other more advanced rendering algorithms we might used in the future, and
it uses no extra memory so it's suitable for complex scenes.

Disadvantage is that it can be quite noisy and slow. Two limitations that will
be solved are that it does not work with bump mapping yet, and that the falloff
function used is a simple cubic function, it's not using the real BSSRDF
falloff function yet.

The node has a color input, along with a scattering radius for each RGB color
channel along with an overall scale factor for the radii.

There is also no GPU support yet, will test if I can get that working later.

Node Documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#BSSRDF

Implementation notes:
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Subsurface_Scattering
2013-04-01 20:26:52 +00:00
..
bsdf_ashikhmin_velvet.h Cycles: disable scaling up of ray differentials after diffuse/glossy bounce, this 2012-12-12 14:43:07 +00:00
bsdf_diffuse_ramp.h Cycles OSL: add diffuse_ramp closure in addition to phong_ramp. 2012-12-11 14:39:41 +00:00
bsdf_diffuse.h Cycles: disable scaling up of ray differentials after diffuse/glossy bounce, this 2012-12-12 14:43:07 +00:00
bsdf_microfacet.h Cycles: disable scaling up of ray differentials after diffuse/glossy bounce, this 2012-12-12 14:43:07 +00:00
bsdf_oren_nayar.h Cycles: disable scaling up of ray differentials after diffuse/glossy bounce, this 2012-12-12 14:43:07 +00:00
bsdf_phong_ramp.h Cycles: disable scaling up of ray differentials after diffuse/glossy bounce, this 2012-12-12 14:43:07 +00:00
bsdf_reflection.h Cycles OSL: most closure code is now shared between OSL and SVM. Also fix 2012-10-20 12:18:00 +00:00
bsdf_refraction.h Cycles OSL: most closure code is now shared between OSL and SVM. Also fix 2012-10-20 12:18:00 +00:00
bsdf_toon.h Cycles OSL: diffuse_toon and specular_toon closures. These are toon shaders with 2012-12-19 21:17:16 +00:00
bsdf_transparent.h Cycles OSL: most closure code is now shared between OSL and SVM. Also fix 2012-10-20 12:18:00 +00:00
bsdf_util.h Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
bsdf_ward.h Cycles: disable scaling up of ray differentials after diffuse/glossy bounce, this 2012-12-12 14:43:07 +00:00
bsdf_westin.h Cycles: disable scaling up of ray differentials after diffuse/glossy bounce, this 2012-12-12 14:43:07 +00:00
bsdf.h Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
bssrdf.h Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
emissive.h Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
volume.h Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00