blender/intern/cycles/kernel/osl
Brecht Van Lommel 54729df020 Cycles OSL: diffuse_toon and specular_toon closures. These are toon shaders with
a size parameter between 0.0 and 1.0 that gives a angle of reflection between
0° and 90°, and a smooth parameter that gives and angle over which a smooth
transition from full to no reflection happens.

These work with global illumination and do importance sampling of the area within
the angle. Note that unlike most other BSDF's these are not energy conserving in
general, in particular if their weight is 1.0 and size > 2/3 (or 60°) they will
add more energy in each bounce.

Diffuse: http://www.pasteall.org/pic/show.php?id=42119
Specular: http://www.pasteall.org/pic/show.php?id=42120
2012-12-19 21:17:16 +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 OSL: diffuse_toon and specular_toon closures. These are toon shaders with 2012-12-19 21:17:16 +00:00
emissive.cpp Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
osl_closures.cpp Cycles OSL: diffuse_toon and specular_toon closures. These are toon shaders with 2012-12-19 21:17:16 +00:00
osl_closures.h Cycles OSL: diffuse_toon and specular_toon closures. These are toon shaders with 2012-12-19 21:17:16 +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 Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
osl_services.h Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
osl_shader.cpp Cycles OSL: small optimization to geometry node, tangent output still was 2012-12-16 09:37:32 +00:00
osl_shader.h Cycles OSL minor optimizations: recycle shading context, don't do memory 2012-12-15 10:18:42 +00:00
SConscript Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00