forked from bartvdbraak/blender
21964e6538
The sampled color ramp data is passed to OSL as a color array. This has to be done as actual float[3] array though, since the Cycles float3 type actually contains 4 floats, leading to shifting color components in the array. Additional parameter set functions for arrays have been added to the Cycles OSL interface for this purpose. |
||
---|---|---|
.. | ||
nodes | ||
background.cpp | ||
bsdf_ashikhmin_velvet.cpp | ||
bsdf_diffuse.cpp | ||
bsdf_microfacet.cpp | ||
bsdf_oren_nayar.cpp | ||
bsdf_phong.cpp | ||
bsdf_reflection.cpp | ||
bsdf_refraction.cpp | ||
bsdf_transparent.cpp | ||
bsdf_ward.cpp | ||
bsdf_westin.cpp | ||
bssrdf.cpp | ||
CMakeLists.txt | ||
debug.cpp | ||
emissive.cpp | ||
osl_closures.cpp | ||
osl_closures.h | ||
osl_globals.h | ||
osl_services.cpp | ||
osl_services.h | ||
osl_shader.cpp | ||
osl_shader.h | ||
vol_subsurface.cpp |