blender/intern/cycles/kernel/osl/nodes
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
..
CMakeLists.txt Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
node_add_closure.osl 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
node_attribute.osl 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
node_background.osl 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
node_blend_texture.osl 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
node_blend_weight.osl Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
node_bump.osl 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
node_camera.osl CameraData Input Cycles Node 2011-12-02 20:36:13 +00:00
node_clouds_texture.osl 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
node_color.h HSV Color Node for Cycles 2011-12-02 16:57:37 +00:00
node_convert_from_color.osl 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
node_convert_from_float.osl 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
node_convert_from_normal.osl 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
node_convert_from_point.osl 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
node_convert_from_vector.osl 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
node_diffuse_bsdf.osl Cycles: Oren-Nayar BSDF support. This is not a separate shader node, rather it 2011-11-14 17:31:47 +00:00
node_distorted_noise_texture.osl 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
node_emission.osl 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
node_environment_texture.osl Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
node_fresnel.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
node_fresnel.osl Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
node_geometry.osl Cycles: rename UV geometry node output to Parametric to avoid confusion with uv texture coordinates. 2011-05-04 15:22:15 +00:00
node_glass_bsdf.osl Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
node_glossy_bsdf.osl Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
node_holdout.osl Cycles: preview passes setting to set the max number of passes to render in 2011-08-29 10:21:10 +00:00
node_hsv.osl HSV Color Node for Cycles 2011-12-02 16:57:37 +00:00
node_image_texture.osl Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
node_invert.osl Invert Color Cycles Node 2011-12-03 23:05:35 +00:00
node_light_path.osl Cycles: 2011-09-01 15:53:36 +00:00
node_magic_texture.osl 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
node_mapping.osl 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
node_marble_texture.osl 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
node_math.osl 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
node_mix_closure.osl 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
node_mix.osl HSV Color Node for Cycles 2011-12-02 16:57:37 +00:00
node_musgrave_texture.osl 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
node_noise_texture.osl 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
node_output_displacement.osl 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
node_output_surface.osl Cycles: revert commit that joined surface/volume socket into a single shader socket, 2011-10-12 23:03:12 +00:00
node_output_volume.osl Cycles: revert commit that joined surface/volume socket into a single shader socket, 2011-10-12 23:03:12 +00:00
node_sepcomb_rgb.osl SeparateRGB and CombineRGB nodes for Cycles materials 2011-12-01 21:46:10 +00:00
node_sky_texture.osl 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
node_stucci_texture.osl 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
node_texture_coordinate.osl 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
node_texture.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
node_translucent_bsdf.osl 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
node_transparent_bsdf.osl 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
node_value.osl 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
node_vector_math.osl Cycles: fix vector math subtract not working correct, patch by Sanne. 2011-05-16 08:08:37 +00:00
node_velvet_bsdf.osl Cycles: tweaks to properties and nodes 2011-09-16 13:14:02 +00:00
node_voronoi_texture.osl 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
node_ward_bsdf.osl 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
node_wood_texture.osl 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
stdosl.h Cycles: Oren-Nayar BSDF support. This is not a separate shader node, rather it 2011-11-14 17:31:47 +00:00