Table of Contents

This page provides information on the OSL Output Selector Map.



The VRayOSLOutputSelectorTex serves as a tool to select an output of a given VRayOSLTex. That way one VRayOSLTex can be used to supply multiple outputs at the same time.



Input Texmap  The VRayOSLTex input texmap. (Only VRayOSLTex should be used as an input.)

Output Index – The index of the output that is selected(zero based). This parameter is linked to the Output Name parameter.

Output Name – The name of the output that is selected. Change the output by choosing a different one from the drop-down list. This parameter is linked to the Output Index parameter.





Multiple Outputs Example
    output color Red = color (1.0, 0.0, 0.0),
    output color Green = color (0.0, 1.0, 0.0),
    output color Blue = color (0.0, 0.0, 1.0),
    output color White = color (1.0, 1.0, 1.0),
    output color Black = color (0.0, 0.0, 0.0)
{ /*Empty. Does nothing.*/ }



Was this helpful?