blender/intern/cycles/kernel/osl
Thomas Dinges 3f7b4916e9 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]
2012-09-05 23:22:36 +00:00
..
nodes * Forgot to commit CMake change for the Brick texture. 2012-09-05 00:59:04 +00:00
background.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_ashikhmin_velvet.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_diffuse.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_microfacet.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_oren_nayar.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_phong.cpp OSL Backend: 2012-09-05 23:22:36 +00:00
bsdf_reflection.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_refraction.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_transparent.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_ward.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_westin.cpp style cleanup 2012-06-04 22:44:58 +00:00
bssrdf.cpp style cleanup 2012-06-04 22:44:58 +00:00
CMakeLists.txt OSL Backend: 2012-09-05 23:22:36 +00:00
debug.cpp style cleanup 2012-06-04 22:44:58 +00:00
emissive.cpp style cleanup 2012-06-04 22:44:58 +00:00
osl_closures.cpp OSL Backend: 2012-09-05 23:22:36 +00:00
osl_closures.h OSL Backend: 2012-09-05 23:22:36 +00:00
osl_globals.h Revert "Use one context per OSL thread. Not sure if this actually works, but the simple renderer example in OSL does it this way." 2012-09-04 17:28:36 +00:00
osl_services.cpp Cycles / OSL: 2012-09-02 01:10:31 +00:00
osl_services.h silencing some of the warnings in OSL for OSX 2012-09-05 20:50:10 +00:00
osl_shader.cpp Fix for OSL memory leak. The context creation for OSL is now done in the shader_setup_* functions, since it should specific to the sample being worked on. The the context release then happens in the kernel_shader functions after shader evaluation is done. Care has to be taken to ensure the shader_release function is also called in cases where the path integration is cancelled early, this was the main cause for unreleased contexts and subsequent new allocations. 2012-09-05 08:12:22 +00:00
osl_shader.h silencing some of the warnings in OSL for OSX 2012-09-05 20:50:10 +00:00
vol_subsurface.cpp style cleanup 2012-06-04 22:44:58 +00:00