Blender Git Loki
Git Commits -> Revision 21964e6
Revision 21964e6 by Lukas Toenne (master) September 15, 2012, 15:41 (GMT) |
OSL implementation of RGB ramp node. 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. |
Commit Details:
Full Hash: 21964e65380131324dcb50567e913cf6e4a29102
SVN Revision: 50637
Parent Commit: 2390a26
Lines Changed: +134, -0
1 Added Path:
/intern/cycles/kernel/osl/nodes/node_rgb_ramp.osl (+44, -0) (View)