Blender Git Loki

Git Commits -> Revision 3f7b491

Revision 3f7b491 by Thomas Dinges (master)
September 5, 2012, 23:22 (GMT)
OSL Backend:
* Added the Phong BRDF from the inbuilt OSL shader library.

This can be used in OSL shaders only for now:
* phong(normal N, float exponent)
* phong_ramp(normal N, float exponent, color colors[8]

Commit Details:

Full Hash: 3f7b4916e9bcd89bb289f3b1d5749c5bcb956f6a
SVN Revision: 50435
Parent Commit: 36797a6
Lines Changed: +286, -0

1 Added Path:

/intern/cycles/kernel/osl/bsdf_phong.cpp (+277, -0) (View)

3 Modified Paths:

/intern/cycles/kernel/osl/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.cpp (+2, -0) (Diff)
/intern/cycles/kernel/osl/osl_closures.h (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021