Download

New Ambient Occlusion Material Mask - how to set it up?

Did someone already set up a working new 4.9 Ambient Occlusion Material Mask in their materials?

I’m currently trying to get this to work, but I don’t really know how to set up the material to show this new feature.
You have to use the PrecomputedAoMask node, but how?

Sorry, I’m not very experienced with materials, but I would love to use this feature in my game. Anyone out there can help?
Thank you so much!

Nobody used this feature yet?
I thought this might be quite useful for lots of projects. Is the use of it so limited or how comes?

To use it in a material


Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_9"
   Begin Object Class=EdGraphPin Name="EdGraphPin_215564"
   End Object
   Begin Object Class=MaterialExpressionConstant3Vector Name="MaterialExpressionConstant3Vector_9"
   End Object
   Begin Object Name="EdGraphPin_215564"
      PinName="Output"
      PinFriendlyName=" "
      Direction=EGPD_Output
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_11.EdGraphPin_215567'
   End Object
   Begin Object Name="MaterialExpressionConstant3Vector_9"
      Constant=(R=1.000000,G=1.000000,B=1.000000,A=0.000000)
      MaterialExpressionEditorX=-800
      MaterialExpressionEditorY=-224
      MaterialExpressionGuid=46B3641E417FDA948343C296A3A2D3D2
      Material=PreviewMaterial'/Engine/Transient.White'
   End Object
   MaterialExpression=MaterialExpressionConstant3Vector'MaterialExpressionConstant3Vector_9'
   Pins(0)=EdGraphPin'EdGraphPin_215564'
   NodePosX=-800
   NodePosY=-224
   NodeGuid=DE9157254C20D57DF651F9A011ABED29
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_10"
   Begin Object Class=EdGraphPin Name="EdGraphPin_215566"
   End Object
   Begin Object Class=MaterialExpressionPrecomputedAOMask Name="MaterialExpressionPrecomputedAOMask_7"
   End Object
   Begin Object Name="EdGraphPin_215566"
      PinName="Output"
      PinFriendlyName=" "
      Direction=EGPD_Output
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_14.EdGraphPin_215576'
      LinkedTo(1)=EdGraphPin'MaterialGraphNode_11.EdGraphPin_215569'
   End Object
   Begin Object Name="MaterialExpressionPrecomputedAOMask_7"
      MaterialExpressionEditorX=-832
      MaterialExpressionEditorY=96
      MaterialExpressionGuid=57C8552C4BCD0BCDABB72993F825E81E
      Material=PreviewMaterial'/Engine/Transient.White'
   End Object
   MaterialExpression=MaterialExpressionPrecomputedAOMask'MaterialExpressionPrecomputedAOMask_7'
   Pins(0)=EdGraphPin'EdGraphPin_215566'
   NodePosX=-832
   NodePosY=96
   NodeGuid=719D0A2F4AB5D5EEC56F41A04C4CF63C
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_11"
   Begin Object Class=EdGraphPin Name="EdGraphPin_215570"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215569"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215568"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215567"
   End Object
   Begin Object Class=MaterialExpressionLinearInterpolate Name="MaterialExpressionLinearInterpolate_5"
   End Object
   Begin Object Name="EdGraphPin_215570"
      PinName="Output"
      PinFriendlyName=" "
      Direction=EGPD_Output
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_Root_0.EdGraphPin_215538'
   End Object
   Begin Object Name="EdGraphPin_215569"
      PinName="Alpha"
      PinType=(PinCategory="optional")
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_10.EdGraphPin_215566'
   End Object
   Begin Object Name="EdGraphPin_215568"
      PinName="B"
      PinType=(PinCategory="optional")
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_12.EdGraphPin_215572'
   End Object
   Begin Object Name="EdGraphPin_215567"
      PinName="A"
      PinType=(PinCategory="optional")
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_9.EdGraphPin_215564'
   End Object
   Begin Object Name="MaterialExpressionLinearInterpolate_5"
      A=(Expression=MaterialExpressionConstant3Vector'MaterialGraphNode_9.MaterialExpressionConstant3Vector_9')
      B=(Expression=MaterialExpressionConstant3Vector'MaterialGraphNode_12.MaterialExpressionConstant3Vector_10')
      Alpha=(Expression=MaterialExpressionPrecomputedAOMask'MaterialGraphNode_10.MaterialExpressionPrecomputedAOMask_7')
      MaterialExpressionEditorX=-256
      MaterialExpressionEditorY=-32
      MaterialExpressionGuid=9C92D7D3489361ED23400F8BF3565898
      Material=PreviewMaterial'/Engine/Transient.White'
   End Object
   MaterialExpression=MaterialExpressionLinearInterpolate'MaterialExpressionLinearInterpolate_5'
   Pins(0)=EdGraphPin'EdGraphPin_215567'
   Pins(1)=EdGraphPin'EdGraphPin_215568'
   Pins(2)=EdGraphPin'EdGraphPin_215569'
   Pins(3)=EdGraphPin'EdGraphPin_215570'
   NodePosX=-256
   NodePosY=-32
   NodeGuid=C00EE6B7466E1B6A40580881F88888AA
End Object
Begin Object Class=MaterialGraphNode Name="MaterialGraphNode_12"
   Begin Object Class=EdGraphPin Name="EdGraphPin_215572"
   End Object
   Begin Object Class=MaterialExpressionConstant3Vector Name="MaterialExpressionConstant3Vector_10"
   End Object
   Begin Object Name="EdGraphPin_215572"
      PinName="Output"
      PinFriendlyName=" "
      Direction=EGPD_Output
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_11.EdGraphPin_215568'
   End Object
   Begin Object Name="MaterialExpressionConstant3Vector_10"
      Constant=(R=0.815000,G=0.160767,B=0.129624,A=0.000000)
      MaterialExpressionEditorX=-816
      MaterialExpressionEditorY=-64
      MaterialExpressionGuid=30A655E14E58AFFD515BCDBAF08476DC
      Material=PreviewMaterial'/Engine/Transient.White'
   End Object
   MaterialExpression=MaterialExpressionConstant3Vector'MaterialExpressionConstant3Vector_10'
   Pins(0)=EdGraphPin'EdGraphPin_215572'
   NodePosX=-816
   NodePosY=-64
   NodeGuid=A33906274396A451D224BA8280A86909
End Object
Begin Object Class=MaterialGraphNode_Root Name="MaterialGraphNode_Root_0"
   Begin Object Class=EdGraphPin Name="EdGraphPin_215563"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215562"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215561"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215560"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215559"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215558"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215557"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215556"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215555"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215554"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215553"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215552"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215551"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215550"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215549"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215548"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215547"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215546"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215545"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215544"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215543"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215542"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215541"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215540"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215539"
   End Object
   Begin Object Class=EdGraphPin Name="EdGraphPin_215538"
   End Object
   Begin Object Name="EdGraphPin_215563"
      PinName="Material Attributes"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215562"
      PinName="Pixel Depth Offset"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215561"
      PinName="Customized UV7"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215560"
      PinName="Customized UV6"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215559"
      PinName="Customized UV5"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215558"
      PinName="Customized UV4"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215557"
      PinName="Customized UV3"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215556"
      PinName="Customized UV2"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215555"
      PinName="Customized UV1"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215554"
      PinName="Customized UV0"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215553"
      PinName="Refraction"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215552"
      PinName="Ambient Occlusion"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215551"
      PinName="Clear Coat Roughness"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215550"
      PinName="Clear Coat"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215549"
      PinName="Subsurface Color"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215548"
      PinName="Tessellation Multiplier"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215547"
      PinName="World Displacement"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215546"
      PinName="World Position Offset"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215545"
      PinName="Normal"
      PinType=(PinCategory="materialinput")
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_3.EdGraphPin_215592'
   End Object
   Begin Object Name="EdGraphPin_215544"
      PinName="Opacity Mask"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215543"
      PinName="Opacity"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215542"
      PinName="Emissive Color"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215541"
      PinName="Roughness"
      PinType=(PinCategory="materialinput")
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_1.EdGraphPin_215565'
   End Object
   Begin Object Name="EdGraphPin_215540"
      PinName="Specular"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215539"
      PinName="Metallic"
      PinType=(PinCategory="materialinput")
   End Object
   Begin Object Name="EdGraphPin_215538"
      PinName="Base Color"
      PinType=(PinCategory="materialinput")
      LinkedTo(0)=EdGraphPin'MaterialGraphNode_11.EdGraphPin_215570'
   End Object
   Material=PreviewMaterial'/Engine/Transient.White'
   Pins(0)=EdGraphPin'EdGraphPin_215538'
   Pins(1)=EdGraphPin'EdGraphPin_215539'
   Pins(2)=EdGraphPin'EdGraphPin_215540'
   Pins(3)=EdGraphPin'EdGraphPin_215541'
   Pins(4)=EdGraphPin'EdGraphPin_215542'
   Pins(5)=EdGraphPin'EdGraphPin_215543'
   Pins(6)=EdGraphPin'EdGraphPin_215544'
   Pins(7)=EdGraphPin'EdGraphPin_215545'
   Pins(8)=EdGraphPin'EdGraphPin_215546'
   Pins(9)=EdGraphPin'EdGraphPin_215547'
   Pins(10)=EdGraphPin'EdGraphPin_215548'
   Pins(11)=EdGraphPin'EdGraphPin_215549'
   Pins(12)=EdGraphPin'EdGraphPin_215550'
   Pins(13)=EdGraphPin'EdGraphPin_215551'
   Pins(14)=EdGraphPin'EdGraphPin_215552'
   Pins(15)=EdGraphPin'EdGraphPin_215553'
   Pins(16)=EdGraphPin'EdGraphPin_215554'
   Pins(17)=EdGraphPin'EdGraphPin_215555'
   Pins(18)=EdGraphPin'EdGraphPin_215556'
   Pins(19)=EdGraphPin'EdGraphPin_215557'
   Pins(20)=EdGraphPin'EdGraphPin_215558'
   Pins(21)=EdGraphPin'EdGraphPin_215559'
   Pins(22)=EdGraphPin'EdGraphPin_215560'
   Pins(23)=EdGraphPin'EdGraphPin_215561'
   Pins(24)=EdGraphPin'EdGraphPin_215562'
   Pins(25)=EdGraphPin'EdGraphPin_215563'
   NodePosX=96
   NodePosY=112
   NodeGuid=D50C067840B06E6C93A778B5A2EC5B03
End Object


Make sure under World Settings, that Generate Precomputed AO is checked on.