SPDL Version = "2.0.0.0"; Reference = "{1970AACB-B6BC-43A1-A1B4-92B8B446D61B}"; PropertySet "sj_sss_fast_skin_lightmap_params" { Parameter "out" output { GUID = "{197003FF-48B4-4C17-8C6E-5013342D83E7}"; Type = struct { Parameter "point" output { GUID = "{197003B7-040B-4595-ADD8-F395EFE37148}"; Type = vector; } Parameter "normal" output { GUID = "{1970227B-D2A4-4328-98E2-143638CBC4E7}"; Type = vector; } }; } Parameter "lightmap" input { GUID = "{1970A9C4-F7A9-4809-B713-B0C62C6B0CF0}"; Type = texture; Inspectable = on; Texturable = on; UI "writable texture" = "color:512"; } Parameter "ambient" input { GUID = "{1970320D-AACC-4741-9918-76E117A9DCD2}"; Type = color; Texturable = on; Value = 0.0 0.0 0.0; } Parameter "ambience" input { title = "Scene Ambience"; guid = "{3515CC74-082C-11D0-91DE-00A024C78EE3}"; type = color; value = 0.1 0.1 0.1; flags = 1; inspectable = off; texturable = off; } Parameter "lightmap_gamma" input { GUID = "{1970ACE6-034D-46C9-B624-171B37A2378E}"; Type = scalar; Value = 0.75; Value Minimum = 0.0; } Parameter "indirect" input { GUID = "{19708291-2E75-4033-91F8-014CF34F6427}"; Type = boolean; Value = on; } Parameter "lightmap_diffuse" input { GUID = "{1970AE86-07B1-431B-9816-0E004651F8F8}"; Type = color; Texturable = on; Value = 1.0 1.0 1.0 1.0; } Parameter "scatter_bias" input { GUID = "{19703C1B-20DD-4461-8F0A-730505EE7CD6}"; Type = scalar; Texturable = on; Value = 0.12; Value Minimum = -1; Value Maximum = 1.0; } Parameter "lights" input { GUID = "{1970EE76-87CA-4791-BAC0-2ADAF0006C96}"; UI "mapping" = "{38D56C23-8C0D-11D0-857D-00A02417D029}"; Inspectable = off; Type = array { Parameter "lights" input { GUID = "{197017C2-8806-4228-B2D8-250DF1F70D42}"; Type = light; } }; } } MetaShader "sj_sss_fast_skin_lightmap" { Name = "sj_sss_fast_skin_lightmap"; Type = lightmap; Renderer "mental ray" { Name = "sj_sss_fast_skin_lightmap"; BeginText # Phenomenon wiring diagram # lm_sample Node "lm_sample" = guid "{FAE49B0B-412E-4667-AFB8-B004155ED2C9}"; # misss_lambert_gamma Connection "lm_sample::ambient" = interface "ambient"; Connection "lm_sample::ambience" = interface "ambience"; Connection "lm_sample::diffuse" = interface "lightmap_diffuse"; Connection "lm_sample::indirect" = interface "indirect"; Connection "lm_sample::diffuse_curve" = interface "lightmap_gamma"; Connection "lm_sample::mode" = value 0; Connection "lm_sample::lights" = interface "lights"; # lm_write Node "lm_write" = guid "{BA555E5E-ED81-42CF-99BD-C3067DA138FF}"; # misss_lightmap_write Connection "lm_write::lightmap" = interface "lightmap"; Connection "lm_write::scatter_bias" = interface "scatter_bias"; Connection "lm_write::input" = value "lm_sample"; Connection root = "lm_write"; EndText } } HelpFile = "Help/shaderpresets.hlp"; HelpID = 4004; Defaults { ambient { Name = "Ambient Color"; UIType = "rgb"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } lightmap_gamma { Name = "Sampling Gamma"; UIRange = 0.0 To 2.0; } indirect { Name = "Sample Indirect Lighting"; } scatter_bias { Name = "Bias"; UIRange = -0.2 To 0.2; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } } Layout "Default" { Tab "Diffuse" { ambient; Group "Common Scatter Controls" { scatter_bias; } } Tab "Advanced Settings" { Group "Lightmap" { lightmap_gamma; indirect; } } lightmap; } Layout "RenderTree" { Group "Diffuse" { ambient; Group "Diffuse" { lightmap_diffuse; } } Group "Miscellaneous" { scatter_bias; } lightmap; }