The inputCubeDimension parameter identifies the size of the cube by specifying the length of one side, so the size of the array should be inputCubeDimension cubed times the size of a single texel value. This data should be an array of texel values in 32-bit floating-point RGBA linear premultiplied format. Use the inputCubeData parameter to provide data formatted for use as a color lookup table, and the inputCubeDimension parameter to specify the size of the table. For each RGBA pixel in the input image, the filter uses the R, G, and B component values as indices to identify a location in the table the RGBA value at that location becomes the RGBA value of the output pixel. This filter maps color values in the input image to new color values using a three-dimensional color lookup table (also called a CLUT or color cube).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |