Skip to content

Instantly share code, notes, and snippets.

@csprance
Last active September 25, 2019 21:55
Show Gist options
  • Save csprance/0c10dd444861d21ff35558af69fddfe7 to your computer and use it in GitHub Desktop.
Save csprance/0c10dd444861d21ff35558af69fddfe7 to your computer and use it in GitHub Desktop.
Make Line material Function

MF_Line

A UE4 Material function to create a line with a thickness

Image

Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_0"
Begin Object Class=/Script/Engine.MaterialExpressionFunctionOutput Name="MaterialExpressionFunctionOutput_0"
End Object
Begin Object Name="MaterialExpressionFunctionOutput_0"
A=(Expression=MaterialExpressionMultiply'"MaterialGraphNode_21.MaterialExpressionMultiply_2"')
bLastPreviewed=True
Id=5339DC564EC32B27BB306AB9FBBFEDDA
MaterialExpressionEditorX=240
MaterialExpressionEditorY=224
MaterialExpressionGuid=AE145484490C27D4D65D5C8676E814EA
Material=Material'"/Engine/Transient.Material_37"'
End Object
MaterialExpression=MaterialExpressionFunctionOutput'"MaterialExpressionFunctionOutput_0"'
NodePosX=240
NodePosY=224
NodeGuid=CF71A6B149D6A7743E0B41932602F978
CustomProperties Pin (PinId=2425B8B14A2011ACC0E6D6A11B31FEEB,PinName="Input",PinFriendlyName=" ",PinType.PinCategory="required",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_21 10A5A6864D78334093E11CA81CAD9D10,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=507DC88B4CDC90AE18583FB232B006EC,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_15"
Begin Object Class=/Script/Engine.MaterialExpressionFloor Name="MaterialExpressionFloor_0"
End Object
Begin Object Name="MaterialExpressionFloor_0"
Input=(Expression=MaterialExpressionMaterialFunctionCall'"MaterialGraphNode_12.MaterialExpressionMaterialFunctionCall_4"',OutputIndex=1)
MaterialExpressionEditorX=-320
MaterialExpressionEditorY=128
MaterialExpressionGuid=4E5F4CFD400799A4308271BD4BDF14FF
Material=Material'"/Engine/Transient.Material_37"'
End Object
MaterialExpression=MaterialExpressionFloor'"MaterialExpressionFloor_0"'
NodePosX=-320
NodePosY=128
NodeGuid=569BEC174CBC136D3F54C5A8B781CE85
CustomProperties Pin (PinId=120B44BF4E682A8709FB85B91596B596,PinName="Input",PinFriendlyName=" ",PinType.PinCategory="required",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_12 4E450B074A0A14AD6F13AC9FC31723C5,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=079F6FCD4D263676F16B279DF6F3743F,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_21 0DD156F54F1FEAEC08569FAD7A35E6F6,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_13"
Begin Object Class=/Script/Engine.MaterialExpressionMultiply Name="MaterialExpressionMultiply_4"
End Object
Begin Object Name="MaterialExpressionMultiply_4"
A=(Expression=MaterialExpressionTextureCoordinate'"MaterialGraphNode_7.MaterialExpressionTextureCoordinate_0"')
B=(Expression=MaterialExpressionConstant'"MaterialGraphNode_14.MaterialExpressionConstant_1"')
MaterialExpressionEditorX=-716
MaterialExpressionEditorY=128
MaterialExpressionGuid=0A82ACBB4B431FC25088FEB995A2CDBE
Material=Material'"/Engine/Transient.Material_37"'
End Object
MaterialExpression=MaterialExpressionMultiply'"MaterialExpressionMultiply_4"'
NodePosX=-716
NodePosY=128
NodeGuid=D902030B414FEECE3434CB852EF3E12F
CustomProperties Pin (PinId=F35BE81D407384FDAFE3C9A33EA84AB6,PinName="A",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_7 C45DCDBE4239912A74F4E9B309EDED2E,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=E5548E4A4C06A031EE9387969F2D54D5,PinName="B",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_14 B38A360044555CDB2298C08742A916CB,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=5B705E0044FB59FB900B1D87E96A56E0,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_12 6A65AAE6463C37AFE1FBAF9259402371,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_7"
Begin Object Class=/Script/Engine.MaterialExpressionTextureCoordinate Name="MaterialExpressionTextureCoordinate_0"
End Object
Begin Object Name="MaterialExpressionTextureCoordinate_0"
MaterialExpressionEditorX=-890
MaterialExpressionEditorY=128
MaterialExpressionGuid=BF6A7BAF43F85ECD5FCC0CB9CA91EBAF
Material=Material'"/Engine/Transient.Material_37"'
End Object
MaterialExpression=MaterialExpressionTextureCoordinate'"MaterialExpressionTextureCoordinate_0"'
NodePosX=-890
NodePosY=128
NodeGuid=658F2312489576D09927B3B4F87588A7
CustomProperties Pin (PinId=C45DCDBE4239912A74F4E9B309EDED2E,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_13 F35BE81D407384FDAFE3C9A33EA84AB6,MaterialGraphNode_6 F35BE81D407384FDAFE3C9A33EA84AB6,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_12"
Begin Object Class=/Script/Engine.MaterialExpressionMaterialFunctionCall Name="MaterialExpressionMaterialFunctionCall_4"
End Object
Begin Object Name="MaterialExpressionMaterialFunctionCall_4"
MaterialFunction=MaterialFunction'"/Engine/Functions/Engine_MaterialFunctions01/Gradient/LinearGradient.LinearGradient"'
FunctionInputs(0)=(ExpressionInputId=956846354D2549E665DAC68533EC21EC,Input=(Expression=MaterialExpressionMultiply'"MaterialGraphNode_13.MaterialExpressionMultiply_4"',InputName="UV Channel"))
FunctionOutputs(0)=(ExpressionOutputId=0F11154B443B1137CC9914998FC01F5E,Output=(OutputName="UGradient"))
FunctionOutputs(1)=(ExpressionOutputId=D0E9AADC4F9EEDBBFD95F9B3A5165013,Output=(OutputName="VGradient"))
MaterialExpressionEditorX=-574
MaterialExpressionEditorY=128
MaterialExpressionGuid=EB8CED5D4701BFA8EE2F088059143805
Material=Material'"/Engine/Transient.Material_37"'
Outputs(0)=(OutputName="UGradient")
Outputs(1)=(OutputName="VGradient")
End Object
MaterialExpression=MaterialExpressionMaterialFunctionCall'"MaterialExpressionMaterialFunctionCall_4"'
NodePosX=-574
NodePosY=128
NodeGuid=BD6301A64CCF6F274201D8B17D759BBB
CustomProperties Pin (PinId=6A65AAE6463C37AFE1FBAF9259402371,PinName="UV Channel (V2)",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_13 5B705E0044FB59FB900B1D87E96A56E0,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=3B80749E4E05C1C6B9F20A9239CDDEE6,PinName="UGradient",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=4E450B074A0A14AD6F13AC9FC31723C5,PinName="VGradient",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_15 120B44BF4E682A8709FB85B91596B596,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_14"
Begin Object Class=/Script/Engine.MaterialExpressionConstant Name="MaterialExpressionConstant_1"
End Object
Begin Object Name="MaterialExpressionConstant_1"
R=2.000000
MaterialExpressionEditorX=-1024
MaterialExpressionEditorY=176
MaterialExpressionGuid=531171AB4DC478872CA29E9A952143FC
Material=Material'"/Engine/Transient.Material_37"'
End Object
MaterialExpression=MaterialExpressionConstant'"MaterialExpressionConstant_1"'
NodePosX=-1024
NodePosY=176
NodeGuid=496ED29E490F90C7EDA08AB00713450C
CustomProperties Pin (PinId=B38A360044555CDB2298C08742A916CB,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_13 E5548E4A4C06A031EE9387969F2D54D5,MaterialGraphNode_18 58ADD1164B47DEC282715296D010DA9C,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_10"
Begin Object Class=/Script/Engine.MaterialExpressionFunctionInput Name="MaterialExpressionFunctionInput_4"
End Object
Begin Object Name="MaterialExpressionFunctionInput_4"
InputName="Line Thickness"
Id=CBA6C4F14DA6AB410EF313A5162185D5
InputType=FunctionInput_Scalar
PreviewValue=(X=0.500000,Y=0.000000,Z=0.000000,W=1.000000)
bUsePreviewValueAsDefault=True
MaterialExpressionEditorX=-1392
MaterialExpressionEditorY=304
MaterialExpressionGuid=8B4E411B4E50C9A26B36AC9ACAD7781C
Material=Material'"/Engine/Transient.Material_37"'
bCollapsed=True
End Object
MaterialExpression=MaterialExpressionFunctionInput'"MaterialExpressionFunctionInput_4"'
NodePosX=-1392
NodePosY=304
NodeGuid=57673CF1410B153620F556B533E442A5
CustomProperties Pin (PinId=B20A9CD042F57A30D67586A337E58781,PinName="Preview",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=0C4C0B4E47ADA616CF00BFBCA6F73F28,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_22 371A4EE845BEFEE2AE5035A511426AE3,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_8"
Begin Object Class=/Script/Engine.MaterialExpressionMaterialFunctionCall Name="MaterialExpressionMaterialFunctionCall_1"
End Object
Begin Object Name="MaterialExpressionMaterialFunctionCall_1"
MaterialFunction=MaterialFunction'"/Engine/Functions/Engine_MaterialFunctions01/Gradient/LinearGradient.LinearGradient"'
FunctionInputs(0)=(ExpressionInputId=956846354D2549E665DAC68533EC21EC,Input=(Expression=MaterialExpressionMultiply'"MaterialGraphNode_6.MaterialExpressionMultiply_0"',InputName="UV Channel"))
FunctionOutputs(0)=(ExpressionOutputId=0F11154B443B1137CC9914998FC01F5E,Output=(OutputName="UGradient"))
FunctionOutputs(1)=(ExpressionOutputId=D0E9AADC4F9EEDBBFD95F9B3A5165013,Output=(OutputName="VGradient"))
MaterialExpressionEditorX=-548
MaterialExpressionEditorY=280
MaterialExpressionGuid=EB8CED5D4701BFA8EE2F088059143805
Material=Material'"/Engine/Transient.Material_37"'
Function=MaterialFunction'"/Engine/Transient.MaterialFunction_4"'
Outputs(0)=(OutputName="UGradient")
Outputs(1)=(OutputName="VGradient")
End Object
MaterialExpression=MaterialExpressionMaterialFunctionCall'"MaterialExpressionMaterialFunctionCall_1"'
NodePosX=-548
NodePosY=280
NodeGuid=D32112844105ED18E84F70B6FE1EB7D0
CustomProperties Pin (PinId=6A65AAE6463C37AFE1FBAF9259402371,PinName="UV Channel",PinType.PinCategory="required",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_6 5B705E0044FB59FB900B1D87E96A56E0,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=3B80749E4E05C1C6B9F20A9239CDDEE6,PinName="UGradient",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=4E450B074A0A14AD6F13AC9FC31723C5,PinName="VGradient",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_19 120B44BF4E682A8709FB85B91596B596,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_6"
Begin Object Class=/Script/Engine.MaterialExpressionMultiply Name="MaterialExpressionMultiply_0"
End Object
Begin Object Name="MaterialExpressionMultiply_0"
A=(Expression=MaterialExpressionTextureCoordinate'"MaterialGraphNode_7.MaterialExpressionTextureCoordinate_0"')
B=(Expression=MaterialExpressionSubtract'"MaterialGraphNode_18.MaterialExpressionSubtract_0"')
MaterialExpressionEditorX=-716
MaterialExpressionEditorY=287
MaterialExpressionGuid=0A82ACBB4B431FC25088FEB995A2CDBE
Material=Material'"/Engine/Transient.Material_37"'
Function=MaterialFunction'"/Engine/Transient.MaterialFunction_4"'
End Object
MaterialExpression=MaterialExpressionMultiply'"MaterialExpressionMultiply_0"'
NodePosX=-716
NodePosY=287
NodeGuid=5481C7544E9B52345A7E3BAE12D5AAAA
CustomProperties Pin (PinId=F35BE81D407384FDAFE3C9A33EA84AB6,PinName="A",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_7 C45DCDBE4239912A74F4E9B309EDED2E,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=E5548E4A4C06A031EE9387969F2D54D5,PinName="B",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_18 3B870D4A4D58240212AD8C866B4B0EB7,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=5B705E0044FB59FB900B1D87E96A56E0,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_8 6A65AAE6463C37AFE1FBAF9259402371,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_19"
Begin Object Class=/Script/Engine.MaterialExpressionFloor Name="MaterialExpressionFloor_1"
End Object
Begin Object Name="MaterialExpressionFloor_1"
Input=(Expression=MaterialExpressionMaterialFunctionCall'"MaterialGraphNode_8.MaterialExpressionMaterialFunctionCall_1"',OutputIndex=1)
MaterialExpressionEditorX=-320
MaterialExpressionEditorY=291
MaterialExpressionGuid=4E5F4CFD400799A4308271BD4BDF14FF
Material=Material'"/Engine/Transient.Material_37"'
Function=MaterialFunction'"/Engine/Transient.MaterialFunction_4"'
End Object
MaterialExpression=MaterialExpressionFloor'"MaterialExpressionFloor_1"'
NodePosX=-320
NodePosY=291
NodeGuid=359EAAF2443588AEEC85978C1C396787
CustomProperties Pin (PinId=120B44BF4E682A8709FB85B91596B596,PinName="Input",PinFriendlyName=" ",PinType.PinCategory="required",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_8 4E450B074A0A14AD6F13AC9FC31723C5,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=079F6FCD4D263676F16B279DF6F3743F,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_16 99C458DD48843AD198247FBC6456732D,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_16"
Begin Object Class=/Script/Engine.MaterialExpressionOneMinus Name="MaterialExpressionOneMinus_0"
End Object
Begin Object Name="MaterialExpressionOneMinus_0"
Input=(Expression=MaterialExpressionFloor'"MaterialGraphNode_19.MaterialExpressionFloor_1"')
MaterialExpressionEditorX=-208
MaterialExpressionEditorY=291
MaterialExpressionGuid=0D3F93C040E6935E76F57C9BC1087C12
Material=Material'"/Engine/Transient.Material_37"'
End Object
MaterialExpression=MaterialExpressionOneMinus'"MaterialExpressionOneMinus_0"'
NodePosX=-208
NodePosY=291
NodeGuid=81F4C9D646C49371E3434F94EFB9388D
CustomProperties Pin (PinId=99C458DD48843AD198247FBC6456732D,PinName="Input",PinFriendlyName=" ",PinType.PinCategory="required",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_19 079F6FCD4D263676F16B279DF6F3743F,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=7ADAD37B4A06371DF8A294AC1165C8E0,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_21 03D15D2A4E59EAA67560EDAFA3AFD75C,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_18"
Begin Object Class=/Script/Engine.MaterialExpressionSubtract Name="MaterialExpressionSubtract_0"
End Object
Begin Object Name="MaterialExpressionSubtract_0"
A=(Expression=MaterialExpressionConstant'"MaterialGraphNode_14.MaterialExpressionConstant_1"')
B=(Expression=MaterialExpressionDivide'"MaterialGraphNode_22.MaterialExpressionDivide_0"')
MaterialExpressionEditorX=-869
MaterialExpressionEditorY=287
MaterialExpressionGuid=A7D2A50745C1714729263D962416EDEE
Material=Material'"/Engine/Transient.Material_37"'
End Object
MaterialExpression=MaterialExpressionSubtract'"MaterialExpressionSubtract_0"'
NodePosX=-869
NodePosY=287
NodeGuid=09CD8176466A132E777CB9816E2E85D7
CustomProperties Pin (PinId=58ADD1164B47DEC282715296D010DA9C,PinName="A",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_14 B38A360044555CDB2298C08742A916CB,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=E4D8D3B64C19282A75FBD28F02F2EA5A,PinName="B",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_22 F75CA31549F5F8D9C53C4E901CB47517,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=3B870D4A4D58240212AD8C866B4B0EB7,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_6 E5548E4A4C06A031EE9387969F2D54D5,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_21"
Begin Object Class=/Script/Engine.MaterialExpressionMultiply Name="MaterialExpressionMultiply_2"
End Object
Begin Object Name="MaterialExpressionMultiply_2"
A=(Expression=MaterialExpressionFloor'"MaterialGraphNode_15.MaterialExpressionFloor_0"')
B=(Expression=MaterialExpressionOneMinus'"MaterialGraphNode_16.MaterialExpressionOneMinus_0"')
MaterialExpressionEditorX=-48
MaterialExpressionEditorY=256
MaterialExpressionGuid=F54540514796BADBA23F108DB3F2AA6A
Material=Material'"/Engine/Transient.Material_37"'
End Object
MaterialExpression=MaterialExpressionMultiply'"MaterialExpressionMultiply_2"'
NodePosX=-48
NodePosY=256
NodeGuid=87C3C1504CC2EF191F5C7FA14A15E393
CustomProperties Pin (PinId=0DD156F54F1FEAEC08569FAD7A35E6F6,PinName="A",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_15 079F6FCD4D263676F16B279DF6F3743F,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=03D15D2A4E59EAA67560EDAFA3AFD75C,PinName="B",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_16 7ADAD37B4A06371DF8A294AC1165C8E0,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=10A5A6864D78334093E11CA81CAD9D10,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_0 2425B8B14A2011ACC0E6D6A11B31FEEB,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode Name="MaterialGraphNode_22"
Begin Object Class=/Script/Engine.MaterialExpressionDivide Name="MaterialExpressionDivide_0"
End Object
Begin Object Name="MaterialExpressionDivide_0"
A=(Expression=MaterialExpressionFunctionInput'"MaterialGraphNode_10.MaterialExpressionFunctionInput_4"')
ConstB=10.000000
MaterialExpressionEditorX=-1072
MaterialExpressionEditorY=304
MaterialExpressionGuid=FA3569544AFBB947061F75BD8BE052B6
Material=Material'"/Engine/Transient.Material_37"'
Desc="Bring Value into 0-1 range"
End Object
MaterialExpression=MaterialExpressionDivide'"MaterialExpressionDivide_0"'
NodePosX=-1072
NodePosY=304
NodeComment="Bring Value into 0-1 range"
NodeGuid=6485E3A845C2DE620AE53082D08946E4
CustomProperties Pin (PinId=371A4EE845BEFEE2AE5035A511426AE3,PinName="A",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_10 0C4C0B4E47ADA616CF00BFBCA6F73F28,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=729343584AA8712F04E1BE9B0A4E19DF,PinName="B",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
CustomProperties Pin (PinId=F75CA31549F5F8D9C53C4E901CB47517,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_18 E4D8D3B64C19282A75FBD28F02F2EA5A,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
End Object
Begin Object Class=/Script/UnrealEd.MaterialGraphNode_Comment Name="MaterialGraphNode_Comment_0"
Begin Object Class=/Script/Engine.MaterialExpressionComment Name="MaterialExpressionComment_0"
End Object
Begin Object Name="MaterialExpressionComment_0"
SizeX=1533
SizeY=357
Text="Create Line"
MaterialExpressionEditorX=-1442
MaterialExpressionEditorY=78
MaterialExpressionGuid=DD0192C345BAE00B0BC15896F9CBEB34
End Object
MaterialExpressionComment=MaterialExpressionComment'"MaterialExpressionComment_0"'
NodePosX=-1442
NodePosY=78
NodeWidth=1533
NodeHeight=357
NodeComment="Create Line"
NodeGuid=0AC427304A6B8F79EB1CEA906381BA5C
End Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment