blender/intern/cycles/kernel/osl
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
..
background.cpp Cycles: 4 new nodes. 2012-11-06 19:59:02 +00:00
bsdf_diffuse_ramp.cpp Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
bsdf_phong_ramp.cpp Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
bsdf_toon.cpp Cycles OSL: diffuse_toon and specular_toon closures. These are toon shaders with 2012-12-19 21:17:16 +00:00
CMakeLists.txt Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
emissive.cpp Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
osl_bssrdf.cpp Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
osl_bssrdf.h Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
osl_closures.cpp Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
osl_closures.h Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
osl_globals.h Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
osl_services.cpp OSL 1.3x / Windows 64: 2013-01-31 17:38:09 +00:00
osl_services.h OSL 1.3x / Windows 64: 2013-01-31 17:38:09 +00:00
osl_shader.cpp Cycles: initial subsurface multiple scattering support. It's not working as 2013-04-01 20:26:52 +00:00
osl_shader.h Cycles Hair: refactoring to support generic attributes for hair curves. There 2013-01-03 12:08:54 +00:00
SConscript OSL 1.3x / Windows 64: 2013-01-31 17:38:09 +00:00