Cycles: Oren-Nayar BSDF support. This is not a separate shader node, rather it
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 14 Nov 2011 17:31:47 +0000 (17:31 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 14 Nov 2011 17:31:47 +0000 (17:31 +0000)
commite731ffb64884e1e74b4736538533698dee1e21a7
treec70e045e1f256032ac4cd11f3999586eb063ca2b
parent90871d54c59be6eb66cd086c1387786526595f1f
Cycles: Oren-Nayar BSDF support. This is not a separate shader node, rather it
is available through the Roughness input on the Diffuse BSDF.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Diffuse

Patch by Yasuhiro Fujii, thanks!
15 files changed:
intern/cycles/kernel/CMakeLists.txt
intern/cycles/kernel/osl/CMakeLists.txt
intern/cycles/kernel/osl/bsdf_oren_nayar.cpp [new file with mode: 0644]
intern/cycles/kernel/osl/nodes/node_diffuse_bsdf.osl
intern/cycles/kernel/osl/nodes/stdosl.h
intern/cycles/kernel/osl/osl_closures.cpp
intern/cycles/kernel/osl/osl_closures.h
intern/cycles/kernel/svm/bsdf_oren_nayar.h [new file with mode: 0644]
intern/cycles/kernel/svm/svm_bsdf.h
intern/cycles/kernel/svm/svm_closure.h
intern/cycles/kernel/svm/svm_types.h
intern/cycles/render/nodes.cpp
source/blender/gpu/intern/gpu_shader_material.glsl
source/blender/gpu/intern/gpu_shader_material.glsl.c
source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.c