(parameterVRAY)
return parameterRED
Return corresponding RED parameter for input VRAY parameter

    Table of correspondence is shaderParametersList dictionary
    Here we cut possible indexes in input parameter string:
    diffuse_texture2 >> diffuse_texture
Return corresponding RED parameter for input VRAY parameter
Return corresponding RED parameter for input VRAY parameter
def returnParameterRED(parameterVRAY):
    '''
    Return corresponding RED parameter for input VRAY parameter

    Table of correspondence is shaderParametersList dictionary
    Here we cut possible indexes in input parameter string:
    diffuse_texture2 >> diffuse_texture
    '''
    try:
        index = int(parameterVRAY[-1])
        key = parameterVRAY.replace(str(index), '')
    except:
        key = parameterVRAY

    parameterRED = shaderParametersList[key]
    return parameterRED
def returnParameterRED ( parameterVRAY ) : try : index = int ( parameterVRAY [ - 1 ] ) key = parameterVRAY . replace ( str ( index ) , '' ) except : key = parameterVRAY parameterRED = shaderParametersList [ key ] return parameterRED