Radial Blur PostProcess Material

By using your post process material, I do get a cross in the center, but when I look it from HTC vive, right eye is still wrong.

I am trying to make some sort of super speed effect with this.
Is there any way to attach any of the parmeters to the speed of my First Person Character?
Which param should I use to achieve this?

Hey guys, this seems to be THE Radial blur thread. I’m having trouble reproducing the blur. I feel like I’ve copied the instructions accurately (I’ve not spent much time in the material editor so I don’t understand most of it), but I’m not seeing the blur I was hoping for. You can see my nodes in the image below.

There’s an error “Error [SM5] Material.usf(1270,21-50): error X3004: undeclared identifier 'View_ViewSizeAndSceneTexelSize” which I don’t really understand. I also tried applying the post process to camera in my scene and got the result you see below. Not exactly what I was expecting.

Do you guys have any suggestions?

Hi everyone ! Thanks @Zarrashi i tried your way but I can’t see anything when I press play. I’ve create a material, I can Apply the changes without any error but when I launch the game I can’t see the blur… Many thanks in advance for your help (sorry for my english).

Did you make a postprocessvolume and set the material as a “blendable”?

Well yes I think so, as you can see in the screenshot I think that I did the correct things… I’m new in the world of Unreal Engine so maybe I forgot something… Thanks for your help !

The material looks OK, but you need to assign it to a postProcessVolume and actually use it.

Great it works :slight_smile: I forgot to create a postProcessVolume ! Thank you so much !

Anyone manage to get this working on the HTC Vive?

I’m getting the exact same error. Is “View.ViewSizeAndSceneTexelSize” no longer valid?

This is working in 4.14 for me:

Screenshots of Setup:



Shader Code:



int TexIndex = 14;
float samples[10] = {-0.08,-0.05,-0.03,-0.02,-0.01,0.01,0.02,0.03,0.05,0.08};
float2 dir = ScreenMult * float2(0.5,0.5) - UV; 
float4 sum = SceneTextureLookup(UV, TexIndex, false);
float2 pos = float2(0.0,0.0);
for(int i = 0; i<10; i++)
{
    pos = UV + dir * samples* * SampleDist;
    max(min(pos, ScreenMult * float2(1.0, 1.0)), float2(0.0,0.0));
    sum += SceneTextureLookup(pos, TexIndex, false);
}
sum *= 1.0/11.0;
return sum;


Material Nodes:



Begin Object Class=MaterialGraphNode_Root Name="MaterialGraphNode_Root_2"
   Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
   NodeGuid=ECFE7A4B4D64B8DA0AF6F7BE06BE32F0
   CustomProperties Pin (PinId=2144770340438D0CCFF3879C39532998,PinName="Base Color",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=94F8218544DC5C08A29419B1BEEDA91E,PinName="Metallic",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=DE7A06FB4DD81005A599479905FF0A86,PinName="Specular",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=2D9765474EA0FF0C13D1C2A9260ECB30,PinName="Roughness",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=5D1EA7B546161A8303EB8E82E0627E94,PinName="Emissive Color",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_19 7551BF394DC3B85914521B995E02CD54,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=54A0A5A148B1D6475146EC84364FEDD5,PinName="Opacity",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=4081B6FF48B80EEFFB658A8871EF17ED,PinName="Opacity Mask",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=7F1E1C9041833B68959C6BA612B0473B,PinName="Normal",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=AB50E72B436FB7A8ED70DF91E6E40CDE,PinName="World Position Offset",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=31FA412A462D2E1F2EFA9394725401D7,PinName="World Displacement",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=07229DCD4D18E30733C8A39B8C703D68,PinName="Tessellation Multiplier",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=F0106EDE4BD8D83B6FD561BACB62465B,PinName="Subsurface Color",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=88E4139D466AC624B765F185B7E22822,PinName="Custom Data 0",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=7D292A0C4DA8E8728D07638C43A862A7,PinName="Custom Data 1",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=D50FB8954BE60DF157328A9696774DD3,PinName="Ambient Occlusion",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=37A44BD749EF57FAF593FA9865ECC308,PinName="Refraction",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=5FB5A31C4C53847EA58FC68D5ED4B395,PinName="Customized UV0",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=F257101D452130AABC9C908144B36852,PinName="Customized UV1",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=0DEF406F4C12E52FB510458477987022,PinName="Customized UV2",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=A2CF7DBC4C81477AF479B0902C786129,PinName="Customized UV3",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=B5F3C99641FE2E7DF78EFAA34D65500C,PinName="Customized UV4",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=7FED0D934FA184EE1442E4B701A2AC89,PinName="Customized UV5",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=F798BA08418CD62AA3AD09AD62D30D90,PinName="Customized UV6",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=93065DC54B89D3DF274A4DA91957654F,PinName="Customized UV7",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=4B1AAEE3484AAA724902D6AA50237825,PinName="Pixel Depth Offset",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=47A5687E48A28DBC97D32682A2F92A7C,PinName="Material Attributes",PinType.PinCategory="materialinput",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_19"
   Begin Object Class=MaterialExpressionLinearInterpolate Name="MaterialExpressionLinearInterpolate_0"
   End Object
   Begin Object Name="MaterialExpressionLinearInterpolate_0"
      A=(Expression=MaterialExpressionCustom'MaterialGraphNode_22.MaterialExpressionCustom_0')
      B=(Expression=MaterialExpressionSceneTexture'MaterialGraphNode_21.MaterialExpressionSceneTexture_0',Mask=1,MaskR=1,MaskG=1,MaskB=1,MaskA=1)
      Alpha=(Expression=MaterialExpressionMaterialFunctionCall'MaterialGraphNode_25.MaterialExpressionMaterialFunctionCall_4')
      MaterialExpressionEditorX=-176
      MaterialExpressionEditorY=112
      MaterialExpressionGuid=43A9AE0049A776174A0B92B054C6AB5B
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
   End Object
   MaterialExpression=MaterialExpressionLinearInterpolate'MaterialExpressionLinearInterpolate_0'
   NodePosX=-176
   NodePosY=112
   NodeGuid=4B46DD904BD9E8DC9AFF508215FAE323
   CustomProperties Pin (PinId=9CCF75AB40AE88EEA9545CB567EAE9EA,PinName="A",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_22 2AC08E4E4954B2F0ACC56A8142DA97C2,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=C92B5DF04FD9019BEA9C7BA5E8F12171,PinName="B",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_21 F308358248B22748754F468116DC39C8,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=0413550A4D5787480B2908ACB2CCD942,PinName="Alpha",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_25 510D57C742550B7BFE48EF82F95F11F3,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=7551BF394DC3B85914521B995E02CD54,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_Root_2 5D1EA7B546161A8303EB8E82E0627E94,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_20"
   Begin Object Class=MaterialExpressionScreenPosition Name="MaterialExpressionScreenPosition_0"
   End Object
   Begin Object Name="MaterialExpressionScreenPosition_0"
      MaterialExpressionEditorX=-1024
      MaterialExpressionEditorY=-16
      MaterialExpressionGuid=FE15A11344CA53920E5DD2A0BDB2D846
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
   End Object
   MaterialExpression=MaterialExpressionScreenPosition'MaterialExpressionScreenPosition_0'
   NodePosX=-1024
   NodePosY=-16
   NodeGuid=211C98EB492BC72137F773B41CB6B102
   CustomProperties Pin (PinId=6453A44C47ED645881A848845A747D11,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_22 177AC35542836CE758FB9C8DEB695A7C,MaterialGraphNode_24 206841EE487E15DE005888894B5B3A9F,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_21"
   Begin Object Class=MaterialExpressionSceneTexture Name="MaterialExpressionSceneTexture_0"
   End Object
   Begin Object Name="MaterialExpressionSceneTexture_0"
      SceneTextureId=PPI_PostProcessInput0
      MaterialExpressionEditorX=-544
      MaterialExpressionEditorY=176
      MaterialExpressionGuid=1203879E411BCB45BC5F2DA7A5423DD1
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
   End Object
   MaterialExpression=MaterialExpressionSceneTexture'MaterialExpressionSceneTexture_0'
   NodePosX=-544
   NodePosY=176
   NodeGuid=6C0FE2664E7A6187B6CBCC86B968C47A
   CustomProperties Pin (PinId=538DB97F4FEC638E34E7A89E20443727,PinName="UVs",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=F308358248B22748754F468116DC39C8,PinName="Color",Direction="EGPD_Output",PinType.PinCategory="mask",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_19 C92B5DF04FD9019BEA9C7BA5E8F12171,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=23372294479F68103EED3DA81C94130F,PinName="Size",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=5C8EB00549949398BB8771BF102848C4,PinName="InvSize",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_22"
   Begin Object Class=MaterialExpressionCustom Name="MaterialExpressionCustom_0"
   End Object
   Begin Object Name="MaterialExpressionCustom_0"
      Code="int TexIndex = 14;
float samples[10] = {-0.08,-0.05,-0.03,-0.02,-0.01,0.01,0.02,0.03,0.05,0.08};
float2 dir = ScreenMult * float2(0.5,0.5) - UV; 
float4 sum = SceneTextureLookup(UV, TexIndex, false);
float2 pos = float2(0.0,0.0);
for(int i = 0; i<10; i++)
{
    pos = UV + dir * samples* * SampleDist;
    max(min(pos, ScreenMult * float2(1.0, 1.0)), float2(0.0,0.0));
    sum += SceneTextureLookup(pos, TexIndex, false);
}
sum *= 1.0/11.0;
return sum;"
      OutputType=CMOT_Float4
      Description="RadialBlur"
      Inputs(0)=(InputName="UV",Input=(Expression=MaterialExpressionScreenPosition'MaterialGraphNode_20.MaterialExpressionScreenPosition_0'))
      Inputs(1)=(InputName="SampleDist",Input=(Expression=MaterialExpressionScalarParameter'MaterialGraphNode_23.MaterialExpressionScalarParameter_0'))
      Inputs(2)=(InputName="ScreenMult",Input=(Expression=MaterialExpressionDivide'MaterialGraphNode_30.MaterialExpressionDivide_1'))
      MaterialExpressionEditorX=-480
      MaterialExpressionGuid=B6DFB993455890C7BAA545B1D02B4D57
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
      Desc="
*** Original source before expression upgrade ***
float2 ScreenMult = GetPostProcessInputSize(0).xy / View.RenderTargetSize;
int TexIndex = 14;
float samples[10] = {-0.08,-0.05,-0.03,-0.02,-0.01,0.01,0.02,0.03,0.05,0.08};
float2 dir = ScreenMult * float2(0.5,0.5) - UV; 
float4 sum = SceneTextureLookup(UV, TexIndex, false);
float2 pos = float2(0.0,0.0);
for(int i = 0; i<10; i++)
{
    pos = UV + dir * samples* * SampleDist;
    max(min(pos, ScreenMult * float2(1.0, 1.0)), float2(0.0,0.0));
    sum += SceneTextureLookup(pos, TexIndex, false);
}
sum *= 1.0/11.0;
return sum;"
      bCollapsed=True
   End Object
   MaterialExpression=MaterialExpressionCustom'MaterialExpressionCustom_0'
   NodePosX=-480
   NodeComment="
*** Original source before expression upgrade ***
float2 ScreenMult = GetPostProcessInputSize(0).xy / View.RenderTargetSize;
int TexIndex = 14;
float samples[10] = {-0.08,-0.05,-0.03,-0.02,-0.01,0.01,0.02,0.03,0.05,0.08};
float2 dir = ScreenMult * float2(0.5,0.5) - UV; 
float4 sum = SceneTextureLookup(UV, TexIndex, false);
float2 pos = float2(0.0,0.0);
for(int i = 0; i<10; i++)
{
    pos = UV + dir * samples* * SampleDist;
    max(min(pos, ScreenMult * float2(1.0, 1.0)), float2(0.0,0.0));
    sum += SceneTextureLookup(pos, TexIndex, false);
}
sum *= 1.0/11.0;
return sum;"
   ErrorType=1
   ErrorMsg="Custom material RadialBlur missing input 4 (sampleDist)"
   NodeGuid=ACBF390447C84AFFC1928AA713EEEA25
   CustomProperties Pin (PinId=177AC35542836CE758FB9C8DEB695A7C,PinName="UV",PinType.PinCategory="required",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_20 6453A44C47ED645881A848845A747D11,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=616746A846CB06B17489E2928E7A3974,PinName="SampleDist",PinType.PinCategory="required",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_23 96090C784D9795E196869AABD469FB0F,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=AA67DC214D4A7D398A5433B3DB137C08,PinName="ScreenMult",PinType.PinCategory="required",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_30 919A20844B2A345CF750D6B75A76B6BB,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=2AC08E4E4954B2F0ACC56A8142DA97C2,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_19 9CCF75AB40AE88EEA9545CB567EAE9EA,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_23"
   Begin Object Class=MaterialExpressionScalarParameter Name="MaterialExpressionScalarParameter_0"
   End Object
   Begin Object Name="MaterialExpressionScalarParameter_0"
      DefaultValue=0.400000
      ParameterName="BlurAmount"
      ExpressionGUID=87FFC26A4E27FD512C77E290396F7DBD
      MaterialExpressionEditorX=-656
      MaterialExpressionEditorY=48
      MaterialExpressionGuid=D865857F4D4247CCA5D256B0E5EE7780
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
   End Object
   MaterialExpression=MaterialExpressionScalarParameter'MaterialExpressionScalarParameter_0'
   NodePosX=-656
   NodePosY=48
   bCanRenameNode=True
   NodeGuid=95BE919643F23934E6F70E83898DEA4E
   CustomProperties Pin (PinId=96090C784D9795E196869AABD469FB0F,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_22 616746A846CB06B17489E2928E7A3974,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_24"
   Begin Object Class=MaterialExpressionMaterialFunctionCall Name="MaterialExpressionMaterialFunctionCall_3"
   End Object
   Begin Object Name="MaterialExpressionMaterialFunctionCall_3"
      MaterialFunction=MaterialFunction'/Engine/Functions/Engine_MaterialFunctions02/Texturing/ScreenAlignedUVs.ScreenAlignedUVs'
      FunctionInputs(0)=(ExpressionInputId=171B9A424E2AFE2A77A885B10D226783,Input=(Expression=MaterialExpressionScreenPosition'MaterialGraphNode_20.MaterialExpressionScreenPosition_0',InputName="Texture Dimensions"))
      FunctionOutputs(0)=(ExpressionOutputId=0B62F82A4407238F0BA4FE86805D8B50,Output=(OutputName="X 100%, Y 100%"))
      FunctionOutputs(1)=(ExpressionOutputId=454DEEEF4E56FE982167C3BFB1A643DB,Output=(OutputName="X 100%, Y Scale to Ratio"))
      FunctionOutputs(2)=(ExpressionOutputId=062C44A6472525194EA716AA80688F9D,Output=(OutputName="X Scale to Ratio, Y 100%"))
      MaterialExpressionEditorX=-864
      MaterialExpressionEditorY=320
      MaterialExpressionGuid=98969B6F4B879034F9AD6F8A776EB2CF
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
      Outputs(0)=(OutputName="X 100%, Y 100%")
      Outputs(1)=(OutputName="X 100%, Y Scale to Ratio")
      Outputs(2)=(OutputName="X Scale to Ratio, Y 100%")
   End Object
   MaterialExpression=MaterialExpressionMaterialFunctionCall'MaterialExpressionMaterialFunctionCall_3'
   NodePosX=-864
   NodePosY=320
   NodeGuid=12F9EEA24B5E4AA8FE6AADA789D63535
   CustomProperties Pin (PinId=206841EE487E15DE005888894B5B3A9F,PinName="Texture Dimensions (V2)",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_20 6453A44C47ED645881A848845A747D11,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=B5616A6940385E6BEC8E67B110B29592,PinName="X 100%, Y 100%",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_25 AA4E585F49F84B8BC92C00A8BBFAD786,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=88B4FFDA48793FEE9C53E3AEB98F2D9E,PinName="X 100%, Y Scale to Ratio",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=DA837BEF45D9C72B93F3D393907D5F71,PinName="X Scale to Ratio, Y 100%",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_25"
   Begin Object Class=MaterialExpressionMaterialFunctionCall Name="MaterialExpressionMaterialFunctionCall_4"
   End Object
   Begin Object Name="MaterialExpressionMaterialFunctionCall_4"
      MaterialFunction=MaterialFunction'/Engine/Functions/Engine_MaterialFunctions01/Gradient/RadialGradientExponential.RadialGradientExponential'
      FunctionInputs(0)=(ExpressionInputId=D38E6C0F499293F6CC65C0AE55AE0D4E,Input=(Expression=MaterialExpressionMaterialFunctionCall'MaterialGraphNode_24.MaterialExpressionMaterialFunctionCall_3',InputName="UVs"))
      FunctionInputs(1)=(ExpressionInputId=2997555B436C735459B9D695B58F219E,Input=(OutputIndex=-1,InputName="CenterPosition"))
      FunctionInputs(2)=(ExpressionInputId=B330351C4B254660CCDCA5923C8F3F26,Input=(Expression=MaterialExpressionScalarParameter'MaterialGraphNode_26.MaterialExpressionScalarParameter_1',InputName="Radius"))
      FunctionInputs(3)=(ExpressionInputId=2B61E834449DAE3BC4D079B953B5DE0E,Input=(Expression=MaterialExpressionScalarParameter'MaterialGraphNode_27.MaterialExpressionScalarParameter_2',InputName="Density"))
      FunctionInputs(4)=(ExpressionInputId=7D5AC5254448D12A92351AA36BEED90A,Input=(OutputIndex=-1,InputName="Invert Density"))
      FunctionOutputs(0)=(ExpressionOutputId=8D0763534D7AAC86623FB1AE8CD0CC39,Output=(OutputName="RadialGradientExponential"))
      MaterialExpressionEditorX=-512
      MaterialExpressionEditorY=416
      MaterialExpressionGuid=5249FC1140C4BF1C89A75C8FC79CADE0
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
      Outputs(0)=(OutputName="RadialGradientExponential")
   End Object
   MaterialExpression=MaterialExpressionMaterialFunctionCall'MaterialExpressionMaterialFunctionCall_4'
   NodePosX=-512
   NodePosY=416
   NodeGuid=9CEC110447EE7FF35539B8967F22BA97
   CustomProperties Pin (PinId=AA4E585F49F84B8BC92C00A8BBFAD786,PinName="UVs (V2)",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_24 B5616A6940385E6BEC8E67B110B29592,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=A25D34CD41971EE91074E98AA808828D,PinName="CenterPosition (V2)",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=64F5A3384EEE6B638DD4E59217AA6F87,PinName="Radius (S)",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_26 ADD6D5C24C9DCE4714FAE0B49796CAC8,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=460C45C9474EF6EBB47653B2014A9FCF,PinName="Density (S)",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_27 939CD9664844BBCE62B16BBCDB21DFF0,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=EBDC1A0F47E208FDDFA05EA73EF4B5E7,PinName="Invert Density (B)",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=510D57C742550B7BFE48EF82F95F11F3,PinName="RadialGradientExponential",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_19 0413550A4D5787480B2908ACB2CCD942,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_26"
   Begin Object Class=MaterialExpressionScalarParameter Name="MaterialExpressionScalarParameter_1"
   End Object
   Begin Object Name="MaterialExpressionScalarParameter_1"
      DefaultValue=0.600000
      ParameterName="BlurRadius"
      ExpressionGUID=14CEA299455A9BD9DEC4F6AC9C9E3769
      MaterialExpressionEditorX=-1024
      MaterialExpressionEditorY=384
      MaterialExpressionGuid=EFEF8E50429ABB12D8E61CBC0E726D50
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
   End Object
   MaterialExpression=MaterialExpressionScalarParameter'MaterialExpressionScalarParameter_1'
   NodePosX=-1024
   NodePosY=384
   bCanRenameNode=True
   NodeGuid=9BB869CE45DADD2D1F4CDF822F49B139
   CustomProperties Pin (PinId=ADD6D5C24C9DCE4714FAE0B49796CAC8,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_25 64F5A3384EEE6B638DD4E59217AA6F87,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_27"
   Begin Object Class=MaterialExpressionScalarParameter Name="MaterialExpressionScalarParameter_2"
   End Object
   Begin Object Name="MaterialExpressionScalarParameter_2"
      DefaultValue=2.000000
      ParameterName="RadiusExponent"
      ExpressionGUID=81EB1FEA452017AC4F415CB5DC532E36
      MaterialExpressionEditorX=-1024
      MaterialExpressionEditorY=464
      MaterialExpressionGuid=7F1951BE4D6B4D01721363BD02870009
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
   End Object
   MaterialExpression=MaterialExpressionScalarParameter'MaterialExpressionScalarParameter_2'
   NodePosX=-1024
   NodePosY=464
   bCanRenameNode=True
   NodeGuid=8C1CD32C41EFE44E221BA595AE2229B0
   CustomProperties Pin (PinId=939CD9664844BBCE62B16BBCDB21DFF0,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_25 460C45C9474EF6EBB47653B2014A9FCF,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_28"
   Begin Object Class=MaterialExpressionViewSize Name="MaterialExpressionViewSize_1"
   End Object
   Begin Object Name="MaterialExpressionViewSize_1"
      MaterialExpressionEditorX=-1024
      MaterialExpressionEditorY=128
      MaterialExpressionGuid=BB94422B40F5172F975D829FF16A01AE
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
   End Object
   MaterialExpression=MaterialExpressionViewSize'MaterialExpressionViewSize_1'
   NodePosX=-1024
   NodePosY=128
   NodeGuid=B6AF27FC41605601B3DE9BB7BA3F0110
   CustomProperties Pin (PinId=EEB0541A44EC54E6035CFE90A3C8ABD4,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_30 2C8AD4A14300D26B09B07181B529C414,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_29"
   Begin Object Class=MaterialExpressionMaterialFunctionCall Name="MaterialExpressionMaterialFunctionCall_5"
   End Object
   Begin Object Name="MaterialExpressionMaterialFunctionCall_5"
      MaterialFunction=MaterialFunction'/Engine/Functions/Engine_MaterialFunctions02/ScreenResolution.ScreenResolution'
      FunctionOutputs(0)=(ExpressionOutputId=D21EB3BE4C1789227FDE70B7A16D9AE8,Output=(OutputName="Visible Resolution"))
      FunctionOutputs(1)=(ExpressionOutputId=2ED3DB9D4C40696F0C43FE8FD96180A7,Output=(OutputName="Buffer Resolution"))
      MaterialExpressionEditorX=-1024
      MaterialExpressionEditorY=256
      MaterialExpressionGuid=AEC732BE4325AAA6495FCE94050A11ED
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
      Outputs(0)=(OutputName="Visible Resolution")
      Outputs(1)=(OutputName="Buffer Resolution")
   End Object
   MaterialExpression=MaterialExpressionMaterialFunctionCall'MaterialExpressionMaterialFunctionCall_5'
   NodePosX=-1024
   NodePosY=256
   NodeGuid=7D4CBACE47ED44F2AB51A2803A69F5B4
   CustomProperties Pin (PinId=ABD63BA1483EA3FCEAA7DDA9934CF06B,PinName="Visible Resolution",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=446D6EE54E4C55D8D8213A8EDBAAA1E6,PinName="Buffer Resolution",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_30 2DEC1D0F470001B3F65D879EB69654F7,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_30"
   Begin Object Class=MaterialExpressionDivide Name="MaterialExpressionDivide_1"
   End Object
   Begin Object Name="MaterialExpressionDivide_1"
      A=(Expression=MaterialExpressionViewSize'MaterialGraphNode_28.MaterialExpressionViewSize_1')
      B=(Expression=MaterialExpressionMaterialFunctionCall'MaterialGraphNode_29.MaterialExpressionMaterialFunctionCall_5',OutputIndex=1)
      MaterialExpressionEditorX=-832
      MaterialExpressionEditorY=128
      MaterialExpressionGuid=0F225F144EC7CBF695C095B1CE148E57
      Material=PreviewMaterial'/Engine/Transient.M_PostProcess_RadialBlur2017'
   End Object
   MaterialExpression=MaterialExpressionDivide'MaterialExpressionDivide_1'
   NodePosX=-832
   NodePosY=128
   NodeGuid=49B2847D41A3E69F187569837E160B55
   CustomProperties Pin (PinId=2C8AD4A14300D26B09B07181B529C414,PinName="A",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_28 EEB0541A44EC54E6035CFE90A3C8ABD4,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=2DEC1D0F470001B3F65D879EB69654F7,PinName="B",PinType.PinCategory="optional",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_29 446D6EE54E4C55D8D8213A8EDBAAA1E6,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
   CustomProperties Pin (PinId=919A20844B2A345CF750D6B75A76B6BB,PinName="Output",PinFriendlyName=" ",Direction="EGPD_Output",PinType.PinCategory="",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.bIsMap=False,PinType.bIsSet=False,PinType.bIsArray=False,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,LinkedTo=(MaterialGraphNode_22 AA67DC214D4A7D398A5433B3DB137C08,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,)
End Object


Enjoy!

Thanks, Kory! That code works perfectly for me. I’ve been trying to figure this one out for a while. BIG BIG THANKS!

Got this working in VR by multiplying the effect by two, one for each eye then mapping it all in UV space from 0 to 2.

Hey there Kory (or anyone else). I’ve set up everything the same as above, save one thing. Where do I enter the material nodes code? Do I have to make a new code class? Sorry, I’m not very technical and I’ve been trying to get this to work for a while. Having done everything besides the material node code, I get this error:

Cheers.

If you look at your code you’ll see you have sampleDist with a small s and it is complaining about not finding SampleDist with a big S. Change one or the other and you’ll get it to work.

Ah, thank you so much. No error. I’m still not seeing the effect though. I’m using the Rendering features in a camera component instead of a volume (it’s actually a child actor with a camera component attached to the player pawn). Would this require a different kind of implementation?

I created a material instance like you did, with the same parameters, and have that as my post process material. Do I have to activate the PP materials some way (other than setting it’s weight to 1)?

Don’t worry, I’ve got it. It’s just that I’m modifying other cam values which seems to be affecting it. Cheers for your help.

Since I’ve got the Blur working correctly I’ve run into another issue. The blur doesn’t work correctly for split screen. I tracked down this thread: Post Processing doesn't work in splitscreen - Multiplayer & Networking - Unreal Engine Forums where they say that post processing isn’t working for split screen. Is this really the case? Is there any way for me to overcome this?

Is there a version for 4.15 and up? Because some of the nodes cannot be found!

This works great, but how can I access a post process material in c++ and change its values at runtime? I can get the PostProcessVolume in c++, but I can’t find a way to get the materials from it.

If it can’t be done in c++, is there a way to do that via blueprint? Maybe I can then affect this blueprint via c++.

I want to essentially change the blur strength over time.

Edit: I figured it out. I learned about parameter collections. You can set the post process material parameters as collection parameters instead. You can access these collection parameters from c++.


UMaterialParameterCollection* col = LoadObject<UMaterialParameterCollection>(nullptr, TEXT("MaterialParameterCollection'/Game/.../Materials/RadialBlurParamCollection.RadialBlurParamCollection'"));
if(col)
    UKismetMaterialLibrary::SetScalarParameterValue(GetWorld(), col, TEXT("BlurAmount"), myVariable);