Blender Git Commit Log
Git Commits -> Revision 209cd25
Revision 209cd25 by Brecht Van Lommel (master) November 6, 2012, 19:59 (GMT) |
Cycles OSL: phong_ramp(N, exponent, colors[8]) closure added, which works like a specular ramp shader. Note this is OSL only still, for experimenting. Patch by Thomas. |
Commit Details:
Full Hash: 209cd2574588d79edc8747bc94e329f6c81a3f99
SVN Revision: 51951
Parent Commit: 27d647d
Lines Changed: +276, -1
2 Added Paths:
/intern/cycles/kernel/closure/bsdf_phong_ramp.h (+140, -0) (View)
/intern/cycles/kernel/osl/bsdf_phong_ramp.cpp (+115, -0) (View)
/intern/cycles/kernel/osl/bsdf_phong_ramp.cpp (+115, -0) (View)
7 Modified Paths:
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/osl/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+3, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+2, -0) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_bsdf.h (+11, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+2, -1) (Diff)
/intern/cycles/kernel/osl/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+3, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+2, -0) (Diff)
/intern/cycles/kernel/shaders/stdosl.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm_bsdf.h (+11, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+2, -1) (Diff)