SPDL Version = "2.0.0.0"; Reference = "{19671971-1008-0000-8410-6A45FDB990DD}"; PropertySet "PhenoTest_params" { Parameter "out" output { title = "PhenoTest"; guid = "{4C6879FF-7EC8-11D0-8E3B-00A0C90640EC}"; type = color; } Parameter "threshold" input { guid = "{19671971-1008-0002-8410-6A45FDB990DD}"; type = scalar; value = 1.0; texturable = on; } Parameter "color1" input { guid = "{19671971-1010-0001-8410-6A45FDB990DD}"; type = color; value = 1.0 0.0 0.0 1.0; texturable = on; } Parameter "color2" input { guid = "{19671971-1011-0001-8410-6A45FDB990DD}"; type = color; value = 0.0 0.0 1.0 1.0; texturable = on; } } MetaShader "PhenoTest_declare" { Name = "PhenoTest"; Type = texture; Renderer "mental ray" { Name = "PhenoTest"; BeginText Node "vector_state" = guid "{BDE291C7-077A-11D2-8A1A-00A0C9892542}"; Node "vector_2_scalar" = guid "{A4F08C3F-AA3A-11D2-AFD4-00A024191B9D}"; Node "scalar_math_logic" = guid "{4D9E6800-AC2F-11D3-AE56-00A0C96E63E1}"; Node "boolean_switch" = guid "{85C16046-BCFA-11D1-90E9-0000F804EB21}"; Connection "vector_state::mode" = value 2; Connection "vector_2_scalar::input" = "vector_state"; Connection "vector_2_scalar::component" = value 0; Connection "scalar_math_logic::input1" = "vector_2_scalar"; Connection "scalar_math_logic::input2" = interface "threshold"; Connection "scalar_math_logic::op" = value 2; Connection "boolean_switch::input1" = interface "color1"; Connection "boolean_switch::input2" = interface "color2"; Connection "boolean_switch::switch" = "scalar_math_logic"; Connection root = "boolean_switch"; EndText } } BEGIN "{24810490-56FF-11d2-BF23-00A0C982CE5D}" Defaults { threshold { Name = "Threshold"; UIRange = -10.0 to 10.0 by 0.01; } color1 { Name = "Color 1"; UIType = "rgba",4; Commands = "{F5C75F11-2F05-11d3-AA95-00AA0068D2C0}"; } color2 { Name = "Color 2"; UIType = "rgba",4; Commands = "{F5C75F11-2F05-11d3-AA95-00AA0068D2C0}"; } } Layout "Default" { Name; threshold; color1; color2; } Logic { } END