SPDL Version = "2.0.0.0"; Reference = "{19672007-1116-6660-3600-A71CE0040425}"; PropertySet "sj_sss_fast_skin_mat_v2_params" { Parameter "out" output { GUID = "{4C6879FF-7EC8-11D0-8E3B-00A0C90640EC}"; Type = color; } Parameter "lightmap" input { GUID = "{19672007-1116-6660-3601-A71CE0040425}"; Type = texture; Inspectable = on; Texturable = on; } Parameter "samples" input { GUID = "{19672007-1116-6660-3602-A71CE0040425}"; Type = integer; Value = 300; Value Minimum = 1; } Parameter "bump" input { GUID = "{19672007-1116-6660-3603-A71CE0040425}"; Type = vector; Value = 0.0 0.0 0.0; Texturable = on; } Parameter "ambient" input { GUID = "{19672007-1116-6660-3604-A71CE0040425}"; 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 "overall_color" input { GUID = "{19672007-1116-6660-3605-A71CE0040425}"; Type = color; Texturable = on; Value = 1.0 1.0 1.0; } Parameter "diffuse_color" input { GUID = "{19672007-1116-6660-3606-A71CE0040425}"; Type = color; Texturable = on; Value = 0.95 0.95 1.0; } Parameter "diffuse_weight" input { GUID = "{19672007-1116-6660-3607-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.3; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "epidermal_sss_color" input { GUID = "{19672007-1116-6660-3608-A71CE0040425}"; Type = color; Texturable = on; Value = 1.0 0.85 0.6; } Parameter "epidermal_sss_weight" input { GUID = "{19672007-1116-6660-3609-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.5; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "epidermal_sss_radius" input { GUID = "{19672007-1116-6660-3610-A71CE0040425}"; Type = scalar; Texturable = on; Value = 8.0; Value Minimum = 0.0; } Parameter "subdermal_sss_color" input { GUID = "{19672007-1116-6660-3611-A71CE0040425}"; Type = color; Texturable = on; Value = 0.95 0.5 0.2; } Parameter "subdermal_sss_weight" input { GUID = "{19672007-1116-6660-3612-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.4; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "subdermal_sss_radius" input { GUID = "{19672007-1116-6660-3613-A71CE0040425}"; Type = scalar; Texturable = on; Value = 25.0; Value Minimum = 0.0; } Parameter "back_sss_color" input { GUID = "{19672007-1116-6660-3614-A71CE0040425}"; Type = color; Texturable = on; Value = 0.7 0.1 0.1; } Parameter "back_sss_weight" input { GUID = "{19672007-1116-6660-3615-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.5; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "back_sss_radius" input { GUID = "{19672007-1116-6660-3616-A71CE0040425}"; Type = scalar; Texturable = on; Value = 25.0; Value Minimum = 0.0; } Parameter "back_sss_depth" input { GUID = "{19672007-1116-6660-3617-A71CE0040425}"; Type = scalar; Texturable = on; Value = 25.0; Value Minimum = 0.0; } Parameter "overall_weight" input { GUID = "{19672007-1116-6660-3618-A71CE0040425}"; Type = scalar; Texturable = on; Value = 1.0; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "edge_factor" input { GUID = "{19672007-1116-6660-3619-A71CE0040425}"; Type = scalar; Texturable = on; Value = 5.0; Value Minimum = 0.0; } Parameter "primary_spec_color" input { GUID = "{19672007-1116-6660-3620-A71CE0040425}"; Type = color; Texturable = on; Value = 0.75 0.9 1.0; } Parameter "primary_weight" input { GUID = "{19672007-1116-6660-3621-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.3; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "primary_edge_weight" input { GUID = "{19672007-1116-6660-3622-A71CE0040425}"; Type = scalar; Texturable = on; Value = 1.0; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "primary_shinyness" input { GUID = "{19672007-1116-6660-3623-A71CE0040425}"; Type = scalar; Texturable = on; Value = 5.0; Value Minimum = 0.0; } Parameter "secondary_spec_color" input { GUID = "{19672007-1116-6660-3624-A71CE0040425}"; Type = color; Texturable = on; Value = 0.9 0.95 1.0; } Parameter "secondary_weight" input { GUID = "{19672007-1116-6660-3625-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.3; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "secondary_edge_weight" input { GUID = "{19672007-1116-6660-3626-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.0; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "secondary_shinyness" input { GUID = "{19672007-1116-6660-3627-A71CE0040425}"; Type = scalar; Texturable = on; Value = 33.0; Value Minimum = 0.0; } Parameter "reflect_weight" input { GUID = "{19672007-1116-6660-3628-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.0; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "reflect_edge_weight" input { GUID = "{19672007-1116-6660-3629-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.0; Value Minimum = 0.0; Value Maximum = 1.0; } Parameter "reflect_shinyness" input { GUID = "{19672007-1116-6660-3630-A71CE0040425}"; Type = scalar; Texturable = on; Value = 2.0; Value Minimum = 0.0; } Parameter "reflect_environment_only" input { GUID = "{19672007-1116-6660-3631-A71CE0040425}"; Type = boolean; Value = off; } Parameter "radiance" input { guid = "{19672007-1116-6660-3632-A71CE0040425}"; type = color; value = 1.0 1.0 1.0 1.0; texturable = on; } Parameter "scale_conversion" input { GUID = "{19672007-1116-6660-3633-A71CE0040425}"; Type = scalar; Value = 1.0; Value Minimum = 0.0; } Parameter "scatter_bias" input { GUID = "{19672007-1116-6660-3634-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.12; Value Minimum = -1; Value Maximum = 1.0; } Parameter "falloff" input { GUID = "{19672007-1116-6660-3635-A71CE0040425}"; Type = scalar; Texturable = on; Value = 0.2; Value Minimum = 0.0; } Parameter "screen_composite" input { GUID = "{19672007-1116-6660-3636-A71CE0040425}"; Type = boolean; Value = on; } Parameter "lights" input { GUID = "{19672007-1116-6660-3637-A71CE0040425}"; UI "mapping" = "{38D56C23-8C0D-11D0-857D-00A02417D029}"; Inspectable = off; Type = array { Parameter "lights" input { GUID = "{19672007-1116-6660-3638-A71CE0040425}"; Type = light; } }; } Parameter "useLightsList" input { guid = "{19672007-1116-6660-3639-A71CE0040425}"; type = boolean; flags = 1; value = false; texturable = on; } Parameter "lightsList" input #LIGHT LIST { title = "Lights List"; guid = "{19672007-1116-6660-3640-A71CE0040425}"; Inspectable = on; Texturable = off; Persistable = on; ui "control" = "LightListParamItem.LightListParamItem.1"; type = array { Parameter "lightsList" input { title = "Lights List"; guid = "{19672007-1116-6660-3641-A71CE0040425}"; type = light; Inspectable = on; Texturable = off; Persistable = on; ui "control" = "LightListParamItem.LightListParamItem.1"; } }; } Parameter "channel" input { GUID = "{19672007-1116-6660-3642-A71CE0040425}"; Type = string; } Parameter "storeInChannel" input { GUID = "{19672007-1116-6660-3643-A71CE0040425}"; Type = boolean; Value = off; texturable = on; } } MetaShader "sj_sss_fast_skin_mat_v2" { Name = "sj_sss_fast_skin_mat_v2"; Type = material; Renderer "mental ray" { Name = "sj_sss_fast_skin_mat_v2"; BeginText # Phenomenon wiring diagram Node "diffuse_switch" = guid "{85C16046-BCFA-11D1-90E9-0000F804EB21}"; Node "specular_switch" = guid "{85C16046-BCFA-11D1-90E9-0000F804EB21}"; Node "channel_switch" = guid "{85C16046-BCFA-11D1-90E9-0000F804EB21}"; # diffuse Node "diffuse" = guid "{FAE49B0B-412E-4667-AFB8-B004155ED2C9}"; # misss_lambert_gamma Node "lldiffuse" = guid "{FAE49B0B-412E-4667-AFB8-B004155ED2C9}"; # misss_lambert_gamma Connection "diffuse::ambient" = interface "ambient"; Connection "diffuse::ambience" = interface "ambience"; Connection "diffuse::diffuse" = interface "diffuse_color"; Connection "diffuse::diffuse_curve" = value 1.0; Connection "diffuse::indirect" = value off; Connection "diffuse::mode" = value 0; Connection "diffuse::lights" = interface "lights"; Connection "lldiffuse::ambient" = interface "ambient"; Connection "lldiffuse::ambience" = interface "ambience"; Connection "lldiffuse::diffuse" = interface "diffuse_color"; Connection "lldiffuse::diffuse_curve" = value 1.0; Connection "lldiffuse::indirect" = value off; Connection "lldiffuse::mode" = value 0; Connection "lldiffuse::lights" = interface "lightsList"; Connection "diffuse_switch::input1" = "diffuse"; Connection "diffuse_switch::input2" = "lldiffuse"; Connection "diffuse_switch::switch" = interface "useLightsList"; # specular Node "specular" = guid "{03CE36D2-0D54-4A95-9F82-1105CB114C38}"; # misss_skin_specular Node "llspecular" = guid "{03CE36D2-0D54-4A95-9F82-1105CB114C38}"; # misss_skin_specular Connection "specular::overall_weight" = interface "overall_weight"; Connection "specular::primary_weight" = interface "primary_weight"; Connection "specular::primary_edge_weight" = interface "primary_edge_weight"; Connection "specular::primary_spec_color" = interface "primary_spec_color"; Connection "specular::primary_shinyness" = interface "primary_shinyness"; Connection "specular::secondary_weight" = interface "secondary_weight"; Connection "specular::secondary_edge_weight" = interface "secondary_edge_weight"; Connection "specular::secondary_spec_color" = interface "secondary_spec_color"; Connection "specular::secondary_shinyness" = interface "secondary_shinyness"; Connection "specular::reflect_weight" = interface "reflect_weight"; Connection "specular::reflect_edge_weight" = interface "reflect_edge_weight"; Connection "specular::reflect_shinyness" = interface "reflect_shinyness"; Connection "specular::reflect_environment_only" = interface "reflect_environment_only"; Connection "specular::edge_factor" = interface "edge_factor"; Connection "specular::mode" = value 0; Connection "specular::lights" = interface "lights"; Connection "llspecular::overall_weight" = interface "overall_weight"; Connection "llspecular::primary_weight" = interface "primary_weight"; Connection "llspecular::primary_edge_weight" = interface "primary_edge_weight"; Connection "llspecular::primary_spec_color" = interface "primary_spec_color"; Connection "llspecular::primary_shinyness" = interface "primary_shinyness"; Connection "llspecular::secondary_weight" = interface "secondary_weight"; Connection "llspecular::secondary_edge_weight" = interface "secondary_edge_weight"; Connection "llspecular::secondary_spec_color" = interface "secondary_spec_color"; Connection "llspecular::secondary_shinyness" = interface "secondary_shinyness"; Connection "llspecular::reflect_weight" = interface "reflect_weight"; Connection "llspecular::reflect_edge_weight" = interface "reflect_edge_weight"; Connection "llspecular::reflect_shinyness" = interface "reflect_shinyness"; Connection "llspecular::reflect_environment_only" = interface "reflect_environment_only"; Connection "llspecular::edge_factor" = interface "edge_factor"; Connection "llspecular::mode" = value 0; Connection "llspecular::lights" = interface "lightsList"; Connection "specular_switch::input1" = "specular"; Connection "specular_switch::input2" = "llspecular"; Connection "specular_switch::switch" = interface "useLightsList"; # shallowscatter Node "shallowscatter" = guid "{85A7775B-31B3-4C37-BDD3-AFE4767B67B6}"; # misss_fast_shader Connection "shallowscatter::lightmap" = interface "lightmap"; Connection "shallowscatter::diffuse_illum" = value "diffuse_switch"; Connection "shallowscatter::diffuse_color" = value 1.0 1.0 1.0 1.0; Connection "shallowscatter::diffuse_weight" = interface "diffuse_weight"; Connection "shallowscatter::front_sss_color" = interface "epidermal_sss_color"; Connection "shallowscatter::front_sss_weight" = interface "epidermal_sss_weight"; Connection "shallowscatter::front_sss_radius" = interface "epidermal_sss_radius"; Connection "shallowscatter::screen_composit" = interface "screen_composite"; Connection "shallowscatter::scale_conversion" = interface "scale_conversion"; Connection "shallowscatter::falloff" = interface "falloff"; Connection "shallowscatter::samples" = interface "samples"; # bump Node "bump" = guid "{F0E05130-6240-11D3-8C0A-00A0243E3672}"; # sib_bump Connection "bump::bump" = interface "bump"; Connection "bump::inuse" = value on; # deepscatter Node "deepscatter" = guid "{85A7775B-31B3-4C37-BDD3-AFE4767B67B6}"; # misss_fast_shader Connection "deepscatter::lightmap" = interface "lightmap"; Connection "deepscatter::bump" = value "bump"; Connection "deepscatter::diffuse_illum" = value "shallowscatter"; Connection "deepscatter::diffuse_color" = interface "overall_color"; Connection "deepscatter::diffuse_weight" = value 1.0; Connection "deepscatter::specular_illum" = value "specular_switch"; Connection "deepscatter::front_sss_color" = interface "subdermal_sss_color"; Connection "deepscatter::front_sss_weight" = interface "subdermal_sss_weight"; Connection "deepscatter::front_sss_radius" = interface "subdermal_sss_radius"; Connection "deepscatter::back_sss_color" = interface "back_sss_color"; Connection "deepscatter::back_sss_weight" = interface "back_sss_weight"; Connection "deepscatter::back_sss_radius" = interface "back_sss_radius"; Connection "deepscatter::back_sss_depth" = interface "back_sss_depth"; Connection "deepscatter::screen_composit" = interface "screen_composite"; Connection "deepscatter::scale_conversion" = interface "scale_conversion"; Connection "deepscatter::falloff" = interface "falloff"; Connection "deepscatter::samples" = interface "samples"; # indirect Node "irradiance" = guid "{25C69C36-E7E3-11D2-8AF6-00A0C9892542}"; # sib_photon_matte Connection "irradiance::input" = interface "radiance"; # - deepscatter/irradiance mix Node "deepscatter_mix" = guid "{6EE27300-A1E2-11D3-AE51-00A0C96E63E1}"; # sib_color_math_basic Connection "deepscatter_mix::input1" = "deepscatter"; Connection "deepscatter_mix::input2" = "irradiance"; Connection "deepscatter_mix::op" = value 0; Connection "deepscatter_mix::alpha" = value off; Node "sib_store_color" = guid "{2653160B-6494-450c-A71C-97E40817D27C}"; Connection "sib_store_color::input" = "deepscatter_mix"; Connection "sib_store_color::channel" = interface "channel"; Connection "channel_switch::input1" = "deepscatter_mix"; Connection "channel_switch::input2" = "sib_store_color"; Connection "channel_switch::switch" = interface "storeInChannel"; Connection root = "channel_switch"; EndText } } HelpFile = "Help/shaderpresets.hlp"; HelpID = 4004; Defaults { samples { Name = "Lightmap Samples"; UIRange = 1 To 1000; } ambient { Name = "Ambient Color"; UIType = "rgb"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } overall_color { Name = "Overall Color Multiplier"; UIType = "rgb"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } diffuse_color { Name = "Color"; UIType = "rgb"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } diffuse_weight { Name = "Weight"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } radiance { Name = "Radiance"; UIType = "rgb"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } epidermal_sss_color { Name = "Color"; UIType = "rgb"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } epidermal_sss_weight { Name = "Weight"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } epidermal_sss_radius { Name = "Radius"; UIRange = 0.0 To 50.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } subdermal_sss_color { Name = "Color"; UIType = "rgb"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } subdermal_sss_weight { Name = "Weight"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } subdermal_sss_radius { Name = "Radius"; UIRange = 0.0 To 50.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } back_sss_color { Name = "Color"; UIType = "rgb"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } back_sss_weight { Name = "Weight"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } back_sss_radius { Name = "Radius"; UIRange = 0.0 To 50.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } back_sss_depth { Name = "Depth"; UIRange = 0.0 To 50.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } overall_weight { Name = "Weight"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } edge_factor { Name = "Edge Factor"; UIRange = 0.1 To 10.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } primary_spec_color { Name = "Color"; UIType = "rgb"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } primary_weight { Name = "Weight"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } primary_edge_weight { Name = "Edge Weight"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } primary_shinyness { Name = "Shinyness"; UIRange = 0.0 To 50.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } secondary_spec_color { Name = "Color"; UIType = "rgb"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } secondary_weight { Name = "Weight"; UIRange = 0.0 To 1.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } secondary_edge_weight { Name = "Edge Weight"; UIRange = 0.0 To 1.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } secondary_shinyness { Name = "Shinyness"; UIRange = 0.0 To 50.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } reflect_weight { Name = "Weight"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } reflect_edge_weight { Name = "Edge Weight"; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } reflect_shinyness { Name = "Shinyness"; UIRange = 0.0 To 50.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } reflect_environment_only { Name = "Environment Only"; } scale_conversion { Name = "Scale"; UIRange = 0.0 To 10.0; } falloff { Name = "Epidermal/Subdermal Sample Falloff"; UIRange = 0.1 To 10.0; Commands = "{F5C75F11-2F05-11D3-AA95-00AA0068D2C0}"; } screen_composite { Name = "Use Screen Compositing for Colors"; } useLightsList { Name = "Use Lights List"; } lightsList { Name = "Lights List"; UIType = "LightListParamItem.LightListParamItem.1"; } channel { Name = "Render Channel"; UIType = "combo"; } storeInChannel { Name = "Enable"; } } Logic { Sub useLightsList_OnChanged() lightsList.enable(useLightsList.value) End Sub Sub storeInChannel_OnChanged() channel.enable(storeInChannel.value) End Sub Sub AddChannel_OnClicked Dim sName sName = InputBox( "Render Channel Name" ) If sName = "" Then Exit Sub On Error Resume Next sName = CreateRenderChannel( sName, siRenderChannelColorType ) LogMessage Err.Number If Err.Number <> 0 Then LogMessage "Unable to create channel. Does a channel with that name already exist?" Exit Sub End If If sName <> "" Then For Each oInspected In PPG.Inspected oInspected.channel = sName Next OnInit End If End Sub Sub ChannelInit() Dim oRenderChannels Set oRenderChannels = ActiveProject.ActiveScene.PassContainer.Properties( "Scene Render Options" ).RenderChannels If TypeName(oRenderChannels) = "Nothing" Then LogMessage "Scene Render Options property not found. Can't enumerate render channels.", siError Exit Sub End If If oRenderChannels.Count = 0 Then LogMessage "No render channels defined.", siError Exit Sub End If Dim idx ReDim oChannelList( oRenderChannels.Count * 2 + 1 ) idx = 0 for each oChannel in oRenderChannels If oChannel.ChannelType = siRenderChannelColorType And oChannel.UserDefined Then oChannelList( idx * 2 + 0 ) = oChannel.Name oChannelList( idx * 2 + 1 ) = oChannel.Name idx = idx + 1 End If next ReDim Preserve oChannelList( idx * 2 - 1 ) Dim oChannelCombo Set oChannelCombo = PPG.PPGLayout.Item( "channel" ) oChannelCombo.UIItems = oChannelList PPG.Refresh End Sub Sub Info_OnClicked() dim s s = "sj_sss_fast_skin_material_v2 -------------- by Stefano Jannuzzo" & vbCrlf s = s & "---------------------------------------------------------------" & vbCrlf s = s & "Should be used coupled with sj_sss_fast_skin_lightmap_v2" & vbCrlf s = s & "Changes from v1:" & vbCrlf s = s & "- Global illumination fixed" & vbCrlf s = s & "- Added render channel support" & vbCrlf s = s & "- Added local lights list (optional)" & vbCrlf s = s & " If enabled, the lights in the list only are used." & vbCrlf s = s & " The list should match the one in sj_sss_fast_skin_lightmap_v2" XSIUIToolkit.MsgBox(s) End Sub Sub OnInit useLightsList_OnChanged storeInChannel_OnChanged ChannelInit End Sub } Layout "Default" { Tab "Diffuse" { ambient; overall_color; Group "Diffuse" { diffuse_color; diffuse_weight; } Group "Epidermal Scatter" { epidermal_sss_color; epidermal_sss_weight; epidermal_sss_radius; } Group "Subdermal Scatter" { subdermal_sss_color; subdermal_sss_weight; subdermal_sss_radius; } Group "Back Scatter" { back_sss_color; back_sss_weight; back_sss_radius; back_sss_depth; } Group "Common Scatter Controls" { samples; falloff; } } Tab "Specular" { overall_weight; edge_factor; Group "Primary" { primary_spec_color; primary_weight; primary_edge_weight; primary_shinyness; } Group "Secondary" { secondary_spec_color; secondary_weight; secondary_edge_weight; secondary_shinyness; } Group "Reflections" { reflect_weight; reflect_edge_weight; reflect_shinyness; reflect_environment_only; } } Tab "Advanced Settings" { Group "Indirect Illumination" { radiance; } Group "Miscellaneous" { scale_conversion; screen_composite; } } Tab "Extra" { Group "Lights" { useLightsList; lightsList; } Group "Render Channel" { storeInChannel; Row { channel,nolabel; Button AddChannel,alignright = "Add..."; } } Group "Info" { Button Info = "Info", 200; } } lightmap; } Layout "RenderTree" { bump; Group "Diffuse" { ambient; overall_color; Group "Diffuse" { diffuse_color; diffuse_weight; } Group "Epidermal Scatter" { epidermal_sss_color; epidermal_sss_weight; epidermal_sss_radius; } Group "Subdermal Scatter" { subdermal_sss_color; subdermal_sss_weight; subdermal_sss_radius; } Group "Back Scatter" { back_sss_color; back_sss_weight; back_sss_radius; back_sss_depth; } } Group "Specular" { overall_weight; edge_factor; Group "Primary" { primary_spec_color; primary_weight; primary_edge_weight; primary_shinyness; } Group "Secondary" { secondary_spec_color; secondary_weight; secondary_edge_weight; secondary_shinyness; } Group "Reflections" { reflect_weight; reflect_edge_weight; reflect_shinyness; } } Group "Indirect" { radiance; } Group "Miscellaneous" { scatter_bias; falloff; } Group "Extra" { useLightsList; lightsList; storeInChannel; } lightmap; }