blender/intern/cycles/kernel
Dalai Felinto d15c5e51a1 Invert Color Cycles Node
as with the HSV node the OSL code is relying on the (yet to be implemented) autorename.

Also the svm code could use mix (svm_lerp) instead:
 32 . float3 color_inv = make_float3(1.0f, 1.0f, 1.0f) - color;
 35 . . stack_store_float3(stack, out_color, svm_lerp(color_inv, color, factor));

I have a feeling that each node 'program' should have the least program as possible. I'll see with Brecht later.
But overall I don't know if that's any fast. And apart from that I think we will need this kind of function to move to a library if multiple functions linked in are not a problem.
2011-12-03 23:05:35 +00:00
..
osl Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
svm Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
CMakeLists.txt Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
kernel_bvh.h Cycles: 2011-12-02 14:26:28 +00:00
kernel_camera.h Cycles: OpenCL tweaks 2011-11-22 13:15:19 +00:00
kernel_compat_cpu.h Cycles: OpenCL tweaks 2011-11-22 13:15:19 +00:00
kernel_compat_cuda.h Cycles: OpenCL tweaks 2011-11-22 13:15:19 +00:00
kernel_compat_opencl.h Cycles: OpenCL tweaks 2011-11-22 13:15:19 +00:00
kernel_differential.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
kernel_displace.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
kernel_emission.h Cycles: add transparent shadow support, i.e. shadows through Transparent BSDF 2011-10-16 17:54:43 +00:00
kernel_film.h Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
kernel_globals.h Cycles: OpenCL tweaks 2011-11-22 13:15:19 +00:00
kernel_light.h Cycles: 2011-10-15 23:49:01 +00:00
kernel_math.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
kernel_mbvh.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
kernel_montecarlo.h Cycles: internal changes that should have no effect on user level yet, added 2011-09-27 20:37:24 +00:00
kernel_object.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
kernel_optimized.cpp Fix #29259: cycles issues on certain processors. Now two versions of the kernel 2011-11-15 15:13:38 +00:00
kernel_path.h Cycles: add transparent shadow support, i.e. shadows through Transparent BSDF 2011-10-16 17:54:43 +00:00
kernel_qbvh.h Cycles render engine, initial commit. This is the engine itself, blender modifications and build instructions will follow later. 2011-04-27 11:58:34 +00:00
kernel_random.h Cycles: 2011-11-12 14:29:52 +00:00
kernel_shader.h Cycles: OpenCL tweaks 2011-11-22 13:15:19 +00:00
kernel_textures.h Cycles: internal changes that should have no effect on user level yet, added 2011-09-27 20:37:24 +00:00
kernel_triangle.h Cycles: some steps to getting OpenCL backend to compile. 2011-05-20 12:26:01 +00:00
kernel_types.h Cycles: OpenCL tweaks 2011-11-22 13:15:19 +00:00
kernel.cl Fix #29274: problem compiling cycles opencl kernel from directory with spaces. 2011-11-22 16:38:58 +00:00
kernel.cpp Cycles: internal changes that should have no effect on user level yet, added 2011-09-27 20:37:24 +00:00
kernel.cu Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
kernel.h Fix #29259: cycles issues on certain processors. Now two versions of the kernel 2011-11-15 15:13:38 +00:00
SConscript Cycles 2011-12-01 16:33:21 +00:00