blender/intern/cycles/kernel/svm
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
..
bsdf_ashikhmin_velvet.h Cycles: 2011-11-10 14:32:16 +00:00
bsdf_diffuse.h Cycles: 2011-09-12 13:13:56 +00:00
bsdf_microfacet.h Cycles: 2011-11-14 19:45:21 +00:00
bsdf_oren_nayar.h Cycles: try to avoid NaN pixels with oren nayar. Also small cmake code cleanup. 2011-11-18 15:39:40 +00:00
bsdf_reflection.h Cycles: 2011-09-12 13:13:56 +00:00
bsdf_refraction.h Cycles: 2011-09-12 13:13:56 +00:00
bsdf_transparent.h Cycles: 2011-09-12 13:13:56 +00:00
bsdf_ward.h Cycles: 2011-09-12 13:13:56 +00:00
bsdf_westin.h Cycles: 2011-09-12 13:13:56 +00:00
bsdf.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
emissive.h Cycles: 2011-10-15 23:49:01 +00:00
svm_attribute.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
svm_bsdf.h Cycles: Oren-Nayar BSDF support. This is not a separate shader node, rather it 2011-11-14 17:31:47 +00:00
svm_camera.h CameraData Input Cycles Node 2011-12-02 20:36:13 +00:00
svm_closure.h Cycles: Oren-Nayar BSDF support. This is not a separate shader node, rather it 2011-11-14 17:31:47 +00:00
svm_convert.h Cycles: 2011-08-28 13:55:59 +00:00
svm_displace.h Cycles: some steps to getting OpenCL backend to compile. 2011-05-20 12:26:01 +00:00
svm_fresnel.h Cycles: procedural texture nodes reorganization. This will break existing files 2011-11-06 21:05:58 +00:00
svm_geometry.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
svm_gradient.h Cycles: 2011-11-08 14:10:33 +00:00
svm_hsv.h HSV Color Node for Cycles 2011-12-02 16:57:37 +00:00
svm_image.h Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
svm_invert.h Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
svm_light_path.h Cycles: 2011-09-01 15:53:36 +00:00
svm_magic.h Cycles: procedural texture nodes reorganization. This will break existing files 2011-11-06 21:05:58 +00:00
svm_mapping.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
svm_math.h Cycles: amd opencl compatibility fixes. 2011-08-10 14:26:51 +00:00
svm_mix.h HSV Color Node for Cycles 2011-12-02 16:57:37 +00:00
svm_musgrave.h Cycles: procedural texture nodes reorganization. This will break existing files 2011-11-06 21:05:58 +00:00
svm_noise.h Cycles: 2011-09-01 15:53:36 +00:00
svm_noisetex.h Cycles: procedural texture nodes reorganization. This will break existing files 2011-11-06 21:05:58 +00:00
svm_sepcomb_rgb.h cycles separateRGB: fix for cuda kernel building. 2011-12-02 07:13:48 +00:00
svm_sky.h Cycles: some steps to getting OpenCL backend to compile. 2011-05-20 12:26:01 +00:00
svm_tex_coord.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
svm_texture.h Cycles: procedural texture nodes reorganization. This will break existing files 2011-11-06 21:05:58 +00:00
svm_types.h Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
svm_value.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
svm_voronoi.h Cycles: procedural texture nodes reorganization. This will break existing files 2011-11-06 21:05:58 +00:00
svm_wave.h Cycles: procedural texture nodes reorganization. This will break existing files 2011-11-06 21:05:58 +00:00
svm.h Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
volume.h Cycles: add some volume nodes, they don't actually do anything, this is just 2011-09-27 20:03:16 +00:00