Skip to main content
Version: Reality 5.4 SP3

Creating Construction Script

Switch to the Construction Script tab to generate the render target blueprint. Keep the existing configuration of the Construction Script node.

Creating Construction

  • Right-click on the Construction Script Editor nodegraph canvas.
  • Locate and choose the "Create Render Target 2D" function node.
  • Adjust the Width and Height parameters within the Construction Script node to W:1920 and H:1080 respectively.
  • Ensure that the format is set to "RTF RGBA16f" if it's not already selected.

Creating Render Target

  • Connect the Construction Script node's exec pin to the Create Render Target 2D node

Set Texture

  • Drag the Texture variable to the node graph using the Set option.
  • Connect the execution pins and the Return Value pin to the Texture pin.

Creating Dynamic Material Instance

  • Right-click on the Construction Script Editor nodegraph canvas. In the search field, type "Create Dynamic Material Instance" and select the function node that corresponds to our Static Mesh. (Note: The Target pin will automatically connect to the static mesh).
  • Connect the execution pin after the Set node to the newly created Dynamic Material Instance node.
  • Drag the "MatScrInst" variable onto the node graph using the Set option. Connect the execution pins at the end of the node graph, and link the Return Value pin to the Texture pin.
  • Click on the Compile and Save buttons.
  • Switch to the Main Window.

Adding to Scene

  • Drag and Drop the blueprint (BP_PlaneWall) to the scene.