// Copyright Contributors to the Open Shading Language project.
// SPDX-License-Identifier: BSD-3-Clause
// https://github.com/AcademySoftwareFoundation/OpenShadingLanguage


shader wavelength_v_lambda_masked (output color Cout = 0)
{
    float lambda = 0.18*u;
    
    color c = 0.0;

    if(int(P[0]*200)%2)
    {
        c = wavelength_color (lambda);
    }
    Cout = c;   
}
