Skip to content

Instantly share code, notes, and snippets.

@Crushy
Created November 18, 2015 15:17
Show Gist options
  • Save Crushy/c2482432e2b740e263fe to your computer and use it in GitHub Desktop.
Save Crushy/c2482432e2b740e263fe to your computer and use it in GitHub Desktop.
UE4 low poly water shader
Begin Object Class=MaterialGraphNode_Root Name="MaterialGraphNode_Root_0"
Begin Object Class=EdGraphPin Name="EdGraphPin_28022"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28021"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28020"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28019"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28018"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28017"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28016"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28015"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28014"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28013"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28012"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28011"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28010"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28009"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28008"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28007"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28006"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28005"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28004"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28003"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28002"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28001"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28000"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_27999"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_27998"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_27997"
End Object
Begin Object Name="EdGraphPin_28022"
PinName="Material Attributes"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28021"
PinName="Pixel Depth Offset"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28020"
PinName="Customized UV7"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28019"
PinName="Customized UV6"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28018"
PinName="Customized UV5"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28017"
PinName="Customized UV4"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28016"
PinName="Customized UV3"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28015"
PinName="Customized UV2"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28014"
PinName="Customized UV1"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28013"
PinName="Customized UV0"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28012"
PinName="Refraction"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28011"
PinName="Ambient Occlusion"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28010"
PinName="Clear Coat Roughness"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28009"
PinName="Clear Coat"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28008"
PinName="Subsurface Color"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28007"
PinName="Tessellation Multiplier"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28006"
PinName="World Displacement"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28005"
PinName="World Position Offset"
PinType=(PinCategory="materialinput")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_4.EdGraphPin_28034'
End Object
Begin Object Name="EdGraphPin_28004"
PinName="Normal"
PinType=(PinCategory="materialinput")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_3.EdGraphPin_28031'
End Object
Begin Object Name="EdGraphPin_28003"
PinName="Opacity Mask"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28002"
PinName="Opacity"
PinType=(PinCategory="materialinput")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_0.EdGraphPin_28027'
End Object
Begin Object Name="EdGraphPin_28001"
PinName="Emissive Color"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_28000"
PinName="Roughness"
PinType=(PinCategory="materialinput")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_2.EdGraphPin_28029'
End Object
Begin Object Name="EdGraphPin_27999"
PinName="Specular"
PinType=(PinCategory="materialinput")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_1.EdGraphPin_28028'
End Object
Begin Object Name="EdGraphPin_27998"
PinName="Metallic"
PinType=(PinCategory="materialinput")
End Object
Begin Object Name="EdGraphPin_27997"
PinName="Base Color"
PinType=(PinCategory="materialinput")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_0.EdGraphPin_28023'
End Object
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
Pins(0)=EdGraphPin'EdGraphPin_27997'
Pins(1)=EdGraphPin'EdGraphPin_27998'
Pins(2)=EdGraphPin'EdGraphPin_27999'
Pins(3)=EdGraphPin'EdGraphPin_28000'
Pins(4)=EdGraphPin'EdGraphPin_28001'
Pins(5)=EdGraphPin'EdGraphPin_28002'
Pins(6)=EdGraphPin'EdGraphPin_28003'
Pins(7)=EdGraphPin'EdGraphPin_28004'
Pins(8)=EdGraphPin'EdGraphPin_28005'
Pins(9)=EdGraphPin'EdGraphPin_28006'
Pins(10)=EdGraphPin'EdGraphPin_28007'
Pins(11)=EdGraphPin'EdGraphPin_28008'
Pins(12)=EdGraphPin'EdGraphPin_28009'
Pins(13)=EdGraphPin'EdGraphPin_28010'
Pins(14)=EdGraphPin'EdGraphPin_28011'
Pins(15)=EdGraphPin'EdGraphPin_28012'
Pins(16)=EdGraphPin'EdGraphPin_28013'
Pins(17)=EdGraphPin'EdGraphPin_28014'
Pins(18)=EdGraphPin'EdGraphPin_28015'
Pins(19)=EdGraphPin'EdGraphPin_28016'
Pins(20)=EdGraphPin'EdGraphPin_28017'
Pins(21)=EdGraphPin'EdGraphPin_28018'
Pins(22)=EdGraphPin'EdGraphPin_28019'
Pins(23)=EdGraphPin'EdGraphPin_28020'
Pins(24)=EdGraphPin'EdGraphPin_28021'
Pins(25)=EdGraphPin'EdGraphPin_28022'
NodePosX=224
NodePosY=-128
NodeGuid=278B949240C02CC348783C89E8B491C2
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_0"
Begin Object Class=EdGraphPin Name="EdGraphPin_28027"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28026"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28025"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28024"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28023"
End Object
Begin Object Class=MaterialExpressionVectorParameter Name="MaterialExpressionVectorParameter_0"
End Object
Begin Object Name="EdGraphPin_28027"
PinName="Output5"
PinFriendlyName=" "
Direction=EGPD_Output
PinType=(PinCategory="mask",PinSubCategory="alpha")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_Root_0.EdGraphPin_28002'
End Object
Begin Object Name="EdGraphPin_28026"
PinName="Output4"
PinFriendlyName=" "
Direction=EGPD_Output
PinType=(PinCategory="mask",PinSubCategory="blue")
End Object
Begin Object Name="EdGraphPin_28025"
PinName="Output3"
PinFriendlyName=" "
Direction=EGPD_Output
PinType=(PinCategory="mask",PinSubCategory="green")
End Object
Begin Object Name="EdGraphPin_28024"
PinName="Output2"
PinFriendlyName=" "
Direction=EGPD_Output
PinType=(PinCategory="mask",PinSubCategory="red")
End Object
Begin Object Name="EdGraphPin_28023"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
PinType=(PinCategory="mask")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_Root_0.EdGraphPin_27997'
End Object
Begin Object Name="MaterialExpressionVectorParameter_0"
DefaultValue=(R=0.199892,G=0.564434,B=0.925000,A=1.000000)
ParameterName="Water Colour"
ExpressionGUID=22C22F1F4FF3CFA4D34063943338A9A8
MaterialExpressionEditorX=-96
MaterialExpressionEditorY=-144
MaterialExpressionGuid=7FD241C34A299936C98A5C9296CE6E9F
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionVectorParameter'MaterialExpressionVectorParameter_0'
Pins(0)=EdGraphPin'EdGraphPin_28023'
Pins(1)=EdGraphPin'EdGraphPin_28024'
Pins(2)=EdGraphPin'EdGraphPin_28025'
Pins(3)=EdGraphPin'EdGraphPin_28026'
Pins(4)=EdGraphPin'EdGraphPin_28027'
NodePosX=-96
NodePosY=-144
bCanRenameNode=True
NodeGuid=F330769B430D04B84B07D485F7C0E1E0
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_1"
Begin Object Class=EdGraphPin Name="EdGraphPin_28028"
End Object
Begin Object Class=MaterialExpressionConstant Name="MaterialExpressionConstant_0"
End Object
Begin Object Name="EdGraphPin_28028"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_Root_0.EdGraphPin_27999'
End Object
Begin Object Name="MaterialExpressionConstant_0"
R=0.700000
MaterialExpressionEditorX=128
MaterialExpressionEditorY=-96
MaterialExpressionGuid=4F84E57B464DC1A221AA4EA0439DCC54
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionConstant'MaterialExpressionConstant_0'
Pins(0)=EdGraphPin'EdGraphPin_28028'
NodePosX=128
NodePosY=-96
NodeGuid=5551E7D84748425DFF29D194C7475EC4
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_2"
Begin Object Class=EdGraphPin Name="EdGraphPin_28029"
End Object
Begin Object Class=MaterialExpressionConstant Name="MaterialExpressionConstant_1"
End Object
Begin Object Name="EdGraphPin_28029"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_Root_0.EdGraphPin_28000'
End Object
Begin Object Name="MaterialExpressionConstant_1"
R=0.250000
MaterialExpressionEditorX=128
MaterialExpressionEditorY=-32
MaterialExpressionGuid=B2051EFB4F766B60EC715C82EDAF35F6
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionConstant'MaterialExpressionConstant_1'
Pins(0)=EdGraphPin'EdGraphPin_28029'
NodePosX=128
NodePosY=-32
NodeGuid=91173E2C4504D3493B775D8C10F271F5
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_3"
Begin Object Class=EdGraphPin Name="EdGraphPin_28031"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28030"
End Object
Begin Object Class=MaterialExpressionNormalize Name="MaterialExpressionNormalize_0"
End Object
Begin Object Name="EdGraphPin_28031"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_Root_0.EdGraphPin_28004'
End Object
Begin Object Name="EdGraphPin_28030"
PinName="VectorInput"
PinType=(PinCategory="required")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_15.EdGraphPin_28062'
End Object
Begin Object Name="MaterialExpressionNormalize_0"
VectorInput=(Expression=MaterialExpressionCrossProduct'MaterialGraphNode_15.MaterialExpressionCrossProduct_0')
MaterialExpressionEditorY=48
MaterialExpressionGuid=5D3CB1784F291D02679875B2FA769042
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionNormalize'MaterialExpressionNormalize_0'
Pins(0)=EdGraphPin'EdGraphPin_28030'
Pins(1)=EdGraphPin'EdGraphPin_28031'
NodePosY=48
NodeGuid=DA5ACEFD486E0C9C6B2EF39CDD6B0327
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_4"
Begin Object Class=EdGraphPin Name="EdGraphPin_28034"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28033"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28032"
End Object
Begin Object Class=MaterialExpressionMultiply Name="MaterialExpressionMultiply_0"
End Object
Begin Object Name="EdGraphPin_28034"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_Root_0.EdGraphPin_28005'
End Object
Begin Object Name="EdGraphPin_28033"
PinName="B"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_9.EdGraphPin_28050'
End Object
Begin Object Name="EdGraphPin_28032"
PinName="A"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_17.EdGraphPin_28066'
End Object
Begin Object Name="MaterialExpressionMultiply_0"
A=(Expression=MaterialExpressionSubtract'MaterialGraphNode_17.MaterialExpressionSubtract_0')
B=(Expression=MaterialExpressionMultiply'MaterialGraphNode_9.MaterialExpressionMultiply_1')
ConstB=200.000000
MaterialExpressionEditorX=32
MaterialExpressionEditorY=192
MaterialExpressionGuid=D2F243914D586253CD1026A97CAE1274
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
bCollapsed=False
End Object
MaterialExpression=MaterialExpressionMultiply'MaterialExpressionMultiply_0'
Pins(0)=EdGraphPin'EdGraphPin_28032'
Pins(1)=EdGraphPin'EdGraphPin_28033'
Pins(2)=EdGraphPin'EdGraphPin_28034'
NodePosX=32
NodePosY=192
NodeGuid=00D5F4F94280B30654DF65BFC213EE2B
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_5"
Begin Object Class=EdGraphPin Name="EdGraphPin_28040"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28039"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28038"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28037"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28036"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28035"
End Object
Begin Object Class=MaterialExpressionTextureSample Name="MaterialExpressionTextureSample_0"
End Object
Begin Object Name="EdGraphPin_28040"
PinName="Output5"
PinFriendlyName=" "
Direction=EGPD_Output
PinType=(PinCategory="mask",PinSubCategory="alpha")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_17.EdGraphPin_28064'
End Object
Begin Object Name="EdGraphPin_28039"
PinName="Output4"
PinFriendlyName=" "
Direction=EGPD_Output
PinType=(PinCategory="mask",PinSubCategory="blue")
End Object
Begin Object Name="EdGraphPin_28038"
PinName="Output3"
PinFriendlyName=" "
Direction=EGPD_Output
PinType=(PinCategory="mask",PinSubCategory="green")
End Object
Begin Object Name="EdGraphPin_28037"
PinName="Output2"
PinFriendlyName=" "
Direction=EGPD_Output
PinType=(PinCategory="mask",PinSubCategory="red")
End Object
Begin Object Name="EdGraphPin_28036"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
PinType=(PinCategory="mask")
End Object
Begin Object Name="EdGraphPin_28035"
PinName="UVs"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_7.EdGraphPin_28044'
End Object
Begin Object Name="MaterialExpressionTextureSample_0"
Coordinates=(Expression=MaterialExpressionAdd'MaterialGraphNode_7.MaterialExpressionAdd_0')
Texture=Texture2D'/Engine/Functions/Engine_MaterialFunctions02/ExampleContent/Textures/LowResBlurredNoise.LowResBlurredNoise'
SamplerType=SAMPLERTYPE_LinearGrayscale
MaterialExpressionEditorX=-704
MaterialExpressionEditorY=192
MaterialExpressionGuid=D51614F64BEE85209E72D982A22BB8BF
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionTextureSample'MaterialExpressionTextureSample_0'
Pins(0)=EdGraphPin'EdGraphPin_28035'
Pins(1)=EdGraphPin'EdGraphPin_28036'
Pins(2)=EdGraphPin'EdGraphPin_28037'
Pins(3)=EdGraphPin'EdGraphPin_28038'
Pins(4)=EdGraphPin'EdGraphPin_28039'
Pins(5)=EdGraphPin'EdGraphPin_28040'
NodePosX=-704
NodePosY=192
NodeGuid=8700B51F48ABF2A181A423BD949C347F
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_6"
Begin Object Class=EdGraphPin Name="EdGraphPin_28041"
End Object
Begin Object Class=MaterialExpressionTextureCoordinate Name="MaterialExpressionTextureCoordinate_0"
End Object
Begin Object Name="EdGraphPin_28041"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_7.EdGraphPin_28042'
End Object
Begin Object Name="MaterialExpressionTextureCoordinate_0"
MaterialExpressionEditorX=-912
MaterialExpressionEditorY=192
MaterialExpressionGuid=52C7ADAD4DD0A5225E3C2FB373E33EF2
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionTextureCoordinate'MaterialExpressionTextureCoordinate_0'
Pins(0)=EdGraphPin'EdGraphPin_28041'
NodePosX=-912
NodePosY=192
NodeGuid=D8F0D05E4B6A4C90CA52FA98DE7D8223
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_7"
Begin Object Class=EdGraphPin Name="EdGraphPin_28044"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28043"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28042"
End Object
Begin Object Class=MaterialExpressionAdd Name="MaterialExpressionAdd_0"
End Object
Begin Object Name="EdGraphPin_28044"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_5.EdGraphPin_28035'
End Object
Begin Object Name="EdGraphPin_28043"
PinName="B"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_8.EdGraphPin_28047'
End Object
Begin Object Name="EdGraphPin_28042"
PinName="A"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_6.EdGraphPin_28041'
End Object
Begin Object Name="MaterialExpressionAdd_0"
A=(Expression=MaterialExpressionTextureCoordinate'MaterialGraphNode_6.MaterialExpressionTextureCoordinate_0')
B=(Expression=MaterialExpressionMaterialFunctionCall'MaterialGraphNode_8.MaterialExpressionMaterialFunctionCall_0')
MaterialExpressionEditorX=-800
MaterialExpressionEditorY=192
MaterialExpressionGuid=5CBAE5B340B84B1CA98F9FBB86F1AF3F
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionAdd'MaterialExpressionAdd_0'
Pins(0)=EdGraphPin'EdGraphPin_28042'
Pins(1)=EdGraphPin'EdGraphPin_28043'
Pins(2)=EdGraphPin'EdGraphPin_28044'
NodePosX=-800
NodePosY=192
NodeGuid=2732E95A4807C50327D967A9E8F6A0BD
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_8"
Begin Object Class=EdGraphPin Name="EdGraphPin_28047"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28046"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28045"
End Object
Begin Object Class=MaterialExpressionMaterialFunctionCall Name="MaterialExpressionMaterialFunctionCall_0"
End Object
Begin Object Name="EdGraphPin_28047"
PinName="Result"
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_7.EdGraphPin_28043'
End Object
Begin Object Name="EdGraphPin_28046"
PinName="Y (S)"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_10.EdGraphPin_28052'
End Object
Begin Object Name="EdGraphPin_28045"
PinName="X (S)"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_10.EdGraphPin_28052'
End Object
Begin Object Name="MaterialExpressionMaterialFunctionCall_0"
MaterialFunction=MaterialFunction'/Engine/Functions/Engine_MaterialFunctions02/Utility/MakeFloat2.MakeFloat2'
FunctionInputs(0)=(ExpressionInputId=529C1D96441E07EB03A9E59B8A7F67B6,Input=(Expression=MaterialExpressionMaterialFunctionCall'MaterialGraphNode_10.MaterialExpressionMaterialFunctionCall_1',InputName="X"))
FunctionInputs(1)=(ExpressionInputId=B5BD7D1B494F6928732CCDA1C63D8E15,Input=(Expression=MaterialExpressionMaterialFunctionCall'MaterialGraphNode_10.MaterialExpressionMaterialFunctionCall_1',InputName="Y"))
FunctionOutputs(0)=(ExpressionOutputId=0DD6F9954C067C3E5DDBBBA0D6910DD2,Output=(OutputName="Result"))
MaterialExpressionEditorX=-944
MaterialExpressionEditorY=272
MaterialExpressionGuid=BB25F879483A20E4B8D2ED94E31A21EF
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
Outputs(0)=(OutputName="Result")
End Object
MaterialExpression=MaterialExpressionMaterialFunctionCall'MaterialExpressionMaterialFunctionCall_0'
Pins(0)=EdGraphPin'EdGraphPin_28045'
Pins(1)=EdGraphPin'EdGraphPin_28046'
Pins(2)=EdGraphPin'EdGraphPin_28047'
NodePosX=-944
NodePosY=272
NodeGuid=F0AB8C244CF72EFFB75A81A2EC7C68FF
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_9"
Begin Object Class=EdGraphPin Name="EdGraphPin_28050"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28049"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28048"
End Object
Begin Object Class=MaterialExpressionMultiply Name="MaterialExpressionMultiply_1"
End Object
Begin Object Name="EdGraphPin_28050"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_4.EdGraphPin_28033'
End Object
Begin Object Name="EdGraphPin_28049"
PinName="B"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_11.EdGraphPin_28054'
End Object
Begin Object Name="EdGraphPin_28048"
PinName="A"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_16.EdGraphPin_28063'
End Object
Begin Object Name="MaterialExpressionMultiply_1"
A=(Expression=MaterialExpressionScalarParameter'MaterialGraphNode_16.MaterialExpressionScalarParameter_0')
B=(Expression=MaterialExpressionConstant3Vector'MaterialGraphNode_11.MaterialExpressionConstant3Vector_0')
MaterialExpressionEditorX=-160
MaterialExpressionEditorY=416
MaterialExpressionGuid=D5C3B3474E836E952D2547BCBE74513E
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
bCollapsed=False
End Object
MaterialExpression=MaterialExpressionMultiply'MaterialExpressionMultiply_1'
Pins(0)=EdGraphPin'EdGraphPin_28048'
Pins(1)=EdGraphPin'EdGraphPin_28049'
Pins(2)=EdGraphPin'EdGraphPin_28050'
NodePosX=-160
NodePosY=416
NodeGuid=B87A717D44BB64C22D8504AF081F08AF
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_10"
Begin Object Class=EdGraphPin Name="EdGraphPin_28053"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28052"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28051"
End Object
Begin Object Class=MaterialExpressionMaterialFunctionCall Name="MaterialExpressionMaterialFunctionCall_1"
End Object
Begin Object Name="EdGraphPin_28053"
PinName="Time"
Direction=EGPD_Output
End Object
Begin Object Name="EdGraphPin_28052"
PinName="Frac Time"
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_8.EdGraphPin_28045'
LinkedTo(1)=EdGraphPin'MaterialGraphNode_8.EdGraphPin_28046'
End Object
Begin Object Name="EdGraphPin_28051"
PinName="Speed (S)"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_18.EdGraphPin_28067'
End Object
Begin Object Name="MaterialExpressionMaterialFunctionCall_1"
MaterialFunction=MaterialFunction'/Engine/Functions/Engine_MaterialFunctions02/Math/TimeWithSpeedVariable.TimeWithSpeedVariable'
FunctionInputs(0)=(ExpressionInputId=F53DA58A4D41C3C00189C29FEE78A32C,Input=(Expression=MaterialExpressionScalarParameter'MaterialGraphNode_18.MaterialExpressionScalarParameter_1',InputName="Speed"))
FunctionOutputs(0)=(ExpressionOutputId=695322674C3297B0A1AFE18F2312C9B4,Output=(OutputName="Frac Time"))
FunctionOutputs(1)=(ExpressionOutputId=BEFB288A41291F5871162DA06E7E2DEA,Output=(OutputName="Time"))
MaterialExpressionEditorX=-1152
MaterialExpressionEditorY=288
MaterialExpressionGuid=33283A1B4BA48EEAD8A22AA542734226
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
Outputs(0)=(OutputName="Frac Time")
Outputs(1)=(OutputName="Time")
End Object
MaterialExpression=MaterialExpressionMaterialFunctionCall'MaterialExpressionMaterialFunctionCall_1'
Pins(0)=EdGraphPin'EdGraphPin_28051'
Pins(1)=EdGraphPin'EdGraphPin_28052'
Pins(2)=EdGraphPin'EdGraphPin_28053'
NodePosX=-1152
NodePosY=288
NodeGuid=378BB04640978E5FA62E199316C67F65
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_11"
Begin Object Class=EdGraphPin Name="EdGraphPin_28054"
End Object
Begin Object Class=MaterialExpressionConstant3Vector Name="MaterialExpressionConstant3Vector_0"
End Object
Begin Object Name="EdGraphPin_28054"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_9.EdGraphPin_28049'
End Object
Begin Object Name="MaterialExpressionConstant3Vector_0"
Constant=(R=0.000000,G=0.000000,B=1.000000,A=0.000000)
MaterialExpressionEditorX=-320
MaterialExpressionEditorY=480
MaterialExpressionGuid=F8EC9817484C6049A478B2AAE3A270AE
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionConstant3Vector'MaterialExpressionConstant3Vector_0'
Pins(0)=EdGraphPin'EdGraphPin_28054'
NodePosX=-320
NodePosY=480
NodeGuid=66C1C3924696697C0D53459E62F319D6
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_12"
Begin Object Class=EdGraphPin Name="EdGraphPin_28056"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28055"
End Object
Begin Object Class=MaterialExpressionDDX Name="MaterialExpressionDDX_0"
End Object
Begin Object Name="EdGraphPin_28056"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_15.EdGraphPin_28060'
End Object
Begin Object Name="EdGraphPin_28055"
PinName="Value"
PinType=(PinCategory="required")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_14.EdGraphPin_28059'
End Object
Begin Object Name="MaterialExpressionDDX_0"
Value=(Expression=MaterialExpressionWorldPosition'MaterialGraphNode_14.MaterialExpressionWorldPosition_0')
MaterialExpressionEditorX=-255
MaterialExpressionEditorY=24
MaterialExpressionGuid=585C28E34729B2658C646EB085D2C518
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionDDX'MaterialExpressionDDX_0'
Pins(0)=EdGraphPin'EdGraphPin_28055'
Pins(1)=EdGraphPin'EdGraphPin_28056'
NodePosX=-255
NodePosY=24
NodeGuid=989F51BA46DB1E1CC5350A92C52BDD0B
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_13"
Begin Object Class=EdGraphPin Name="EdGraphPin_28058"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28057"
End Object
Begin Object Class=MaterialExpressionDDY Name="MaterialExpressionDDY_0"
End Object
Begin Object Name="EdGraphPin_28058"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_15.EdGraphPin_28061'
End Object
Begin Object Name="EdGraphPin_28057"
PinName="Value"
PinType=(PinCategory="required")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_14.EdGraphPin_28059'
End Object
Begin Object Name="MaterialExpressionDDY_0"
Value=(Expression=MaterialExpressionWorldPosition'MaterialGraphNode_14.MaterialExpressionWorldPosition_0')
MaterialExpressionEditorX=-256
MaterialExpressionEditorY=96
MaterialExpressionGuid=8E6518F646C38C54FF92B2BF9E518A67
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionDDY'MaterialExpressionDDY_0'
Pins(0)=EdGraphPin'EdGraphPin_28057'
Pins(1)=EdGraphPin'EdGraphPin_28058'
NodePosX=-256
NodePosY=96
NodeGuid=50E2DE0B4A416FE36583249A7C13FF9E
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_14"
Begin Object Class=EdGraphPin Name="EdGraphPin_28059"
End Object
Begin Object Class=MaterialExpressionWorldPosition Name="MaterialExpressionWorldPosition_0"
End Object
Begin Object Name="EdGraphPin_28059"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_12.EdGraphPin_28055'
LinkedTo(1)=EdGraphPin'MaterialGraphNode_13.EdGraphPin_28057'
End Object
Begin Object Name="MaterialExpressionWorldPosition_0"
MaterialExpressionEditorX=-608
MaterialExpressionEditorY=16
MaterialExpressionGuid=0642E06A4C7982E69489E79EF796803E
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionWorldPosition'MaterialExpressionWorldPosition_0'
Pins(0)=EdGraphPin'EdGraphPin_28059'
NodePosX=-608
NodePosY=16
NodeGuid=685B180044178709C65086A0ECA9B03C
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_15"
Begin Object Class=EdGraphPin Name="EdGraphPin_28062"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28061"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28060"
End Object
Begin Object Class=MaterialExpressionCrossProduct Name="MaterialExpressionCrossProduct_0"
End Object
Begin Object Name="EdGraphPin_28062"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_3.EdGraphPin_28030'
End Object
Begin Object Name="EdGraphPin_28061"
PinName="B"
PinType=(PinCategory="required")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_13.EdGraphPin_28058'
End Object
Begin Object Name="EdGraphPin_28060"
PinName="A"
PinType=(PinCategory="required")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_12.EdGraphPin_28056'
End Object
Begin Object Name="MaterialExpressionCrossProduct_0"
A=(Expression=MaterialExpressionDDX'MaterialGraphNode_12.MaterialExpressionDDX_0')
B=(Expression=MaterialExpressionDDY'MaterialGraphNode_13.MaterialExpressionDDY_0')
MaterialExpressionEditorX=-112
MaterialExpressionEditorY=48
MaterialExpressionGuid=B7EDFF9E47C0B122997880A2AF985736
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionCrossProduct'MaterialExpressionCrossProduct_0'
Pins(0)=EdGraphPin'EdGraphPin_28060'
Pins(1)=EdGraphPin'EdGraphPin_28061'
Pins(2)=EdGraphPin'EdGraphPin_28062'
NodePosX=-112
NodePosY=48
NodeGuid=98797DC043AFA99C9345BE9EB76D00C2
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_16"
Begin Object Class=EdGraphPin Name="EdGraphPin_28063"
End Object
Begin Object Class=MaterialExpressionScalarParameter Name="MaterialExpressionScalarParameter_0"
End Object
Begin Object Name="EdGraphPin_28063"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_9.EdGraphPin_28048'
End Object
Begin Object Name="MaterialExpressionScalarParameter_0"
DefaultValue=700.000000
ParameterName="Wave Height Scale"
ExpressionGUID=75C882C344FB0308424346B94A64E9DC
MaterialExpressionEditorX=-320
MaterialExpressionEditorY=400
MaterialExpressionGuid=352AB3D14AB5E88B3300FF9A52A2E573
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionScalarParameter'MaterialExpressionScalarParameter_0'
Pins(0)=EdGraphPin'EdGraphPin_28063'
NodePosX=-320
NodePosY=400
bCanRenameNode=True
NodeGuid=49EF29F7413EED1AEF3628909FD4A5CB
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_17"
Begin Object Class=EdGraphPin Name="EdGraphPin_28066"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28065"
End Object
Begin Object Class=EdGraphPin Name="EdGraphPin_28064"
End Object
Begin Object Class=MaterialExpressionSubtract Name="MaterialExpressionSubtract_0"
End Object
Begin Object Name="EdGraphPin_28066"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_4.EdGraphPin_28032'
End Object
Begin Object Name="EdGraphPin_28065"
PinName="B"
PinType=(PinCategory="optional")
End Object
Begin Object Name="EdGraphPin_28064"
PinName="A"
PinType=(PinCategory="optional")
LinkedTo(0)=EdGraphPin'MaterialGraphNode_5.EdGraphPin_28040'
End Object
Begin Object Name="MaterialExpressionSubtract_0"
A=(Expression=MaterialExpressionTextureSample'MaterialGraphNode_5.MaterialExpressionTextureSample_0',OutputIndex=4,Mask=1,MaskA=1)
ConstB=0.500000
MaterialExpressionEditorX=-512
MaterialExpressionEditorY=192
MaterialExpressionGuid=32F2712B46C286D46484DC86605ECC72
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
Desc="Normalize this (so average height is around 0)"
bCommentBubbleVisible=True
bCollapsed=False
End Object
MaterialExpression=MaterialExpressionSubtract'MaterialExpressionSubtract_0'
Pins(0)=EdGraphPin'EdGraphPin_28064'
Pins(1)=EdGraphPin'EdGraphPin_28065'
Pins(2)=EdGraphPin'EdGraphPin_28066'
NodePosX=-512
NodePosY=192
NodeComment="Normalize this (so average height is around 0)"
bCommentBubbleVisible=True
NodeGuid=1BEB280F48020F39468DFE8B3E2EA351
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_18"
Begin Object Class=EdGraphPin Name="EdGraphPin_28067"
End Object
Begin Object Class=MaterialExpressionScalarParameter Name="MaterialExpressionScalarParameter_1"
End Object
Begin Object Name="EdGraphPin_28067"
PinName="Output"
PinFriendlyName=" "
Direction=EGPD_Output
LinkedTo(0)=EdGraphPin'MaterialGraphNode_10.EdGraphPin_28051'
End Object
Begin Object Name="MaterialExpressionScalarParameter_1"
DefaultValue=0.250000
ParameterName="Wave Speed"
ExpressionGUID=39AE471649EA503117B2FAB8026EB0A9
MaterialExpressionEditorX=-1280
MaterialExpressionEditorY=288
MaterialExpressionGuid=0F84A1BE4C3A56DAAB71B0853FBF4ED1
Material=PreviewMaterial'/Engine/Transient.LowPolyWater'
End Object
MaterialExpression=MaterialExpressionScalarParameter'MaterialExpressionScalarParameter_1'
Pins(0)=EdGraphPin'EdGraphPin_28067'
NodePosX=-1280
NodePosY=288
bCanRenameNode=True
NodeGuid=11553C3A43C7133A7C66C190CF32DE7D
End Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment