I just started to use the OSL. Unfortunately I am stuck right at the beginning.
I have created a script with a color input and output. Basically I expect that the input color is routed through to the output node (highlighted in green) and is set as the background color. But when I render the background color is taken from the background node. I just duplicated it for the sake of showing it in the screenshot. So instead of a white background I get a gray background. Any thoughts on what I am doing wrong?
Blend file: osl_color_background.blend (474 KB)