Having read this thread:
There is an example how to store data within an image to use for an OSL-shader here:
However, I can’t get this example to work. In my example the box is black no matter what output Im using. Im using a mac so I think something is wrong with how the path to the texture is given. I have tried absolute path to the file with no success. Using blender 2.7.8
Has anyone on a mac succeeded to load image-data into an osl-shader? E.g getting a red cube in the example above. If so, could someone share the blend or just direct me into the setting of the example above to work?