Skip to content

About

RenderStream plugin for Unreal Engine

Topics

Resources

Stars

81 stars

Watchers

17 watching

Forks

Latest commit

 

History

739 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RenderStream Unreal Engine Plugin

Prerequisites

  1. have Microsoft Visual Studio installed
  2. have git.exe
  3. have corresponding Unreal Engine (UE) version installed

Setup

To Generate Plugin:

Step 1:

  • run generate_uplugin.bat
    • if cmd failed with error message stating "generate_uplugin.ps1 cannot be loaded. The file generate_uplugin.ps1 is not digitally signed."
      • you might need to:
        • edit the bat file to use "-ExecutionPolicy Bypass"
        • or edit the LocalMachine's PowerShell execution policy to "bypass".
    • if cmd failed with error message stating "could not find git.exe in Path Variable"
      • edit Windows Environment Variables -> "PATH" variable to include the location of git.exe.

Result: "RenderStream-UE.uplugin" created.

Step 2:

  • run package_plugin.bat
  • when prompted, enter unreal_engine_path, for example "E:\UE_4.27"
    • Note: you should have the UE version matching the plugin version installed

Result: A new folder "Packaged" is created and the packaged plugin is created.

Development setup

To work on the plugin against a real Unreal project, use the dev setup scripts.

Against an existing project

setup_dev_environment.bat -ProjectDir "D:\path\to\UEProject" [options]

This runs three steps in order:

  1. generate_uplugin.ps1 — builds the .uplugin from uplugin_template.json.
  2. link_to_project.ps1 — junction-links this repo into the project's Plugins folder, so edits and git status stay live in place.
  3. generate_project_files.ps1 — generates VS Code (or -VisualStudio) project files via UnrealBuildTool. Blueprint-only projects (no Source folder) are auto-scaffolded with a minimal C++ game module first.

Generate a project from scratch

Add -Create to generate a fresh RenderStream test project at -ProjectDir, then set it up. Add -Bake to also build the editor target and author the test scene + RenderStream schema headlessly:

setup_dev_environment.bat -Create -Bake -ProjectDir "D:\path\to\NewProject" [options]

With -Create the project is generated first (create_project.ps1); -Bake then runs the headless bake (bake_project.ps1) after linking + project-file generation. The baked scene contains:

  • A cube spinning on load, its six faces each split into two halves so all twelve render-target textures show on the cube (one per half-face).
  • Three RenderStream channels: RenderStreamCamera, plus backplate (cube force-hidden) and frontplate (cube force-visible).
  • A CaptionText actor driven by the exposed parameters.
  • Exposed parameters grouped as Lighting (DirectionIntensity, PointIntensity), Label (Caption, Colour, Visible) and Texture (Texture00–Texture11), plus StartRotation / StopRotation custom events that toggle the spin.
  • Two maps, each with a streaming sub-level.

Options

Forwarded to the relevant step:

Option Effect
-Create Generate a fresh RenderStream test project at -ProjectDir before setup.
-ProjectName <name> Project/module name for -Create (defaults to the folder name).
-Rhi <D3D12|D3D11|Vulkan> Default graphics RHI for a -Create project (defaults to D3D12).
-Mode <None|Maps|StreamingLevels> RenderStream scene selector for a -Create project (defaults to None).
-NoBackup Delete an existing real plugin folder instead of backing it up.
-VisualStudio Generate a Visual Studio .sln instead of VS Code files.
-IncludeEngine Include full engine source in the workspace (heavier, better for engine debugging).
-Open Open the generated workspace when done.
-SkipUplugin Skip regenerating the .uplugin.
-Bake Run the headless bake (build editor target + generate test scene/schema).
-Help Show a one-line description of each flag and exit.

Run any script with -Help for a summary of its flags.

The individual steps can also be run on their own:

  • create_project.ps1 -ProjectDir "D:\path\to\NewProject" — generate the project skeleton only (supports -Rhi / -Mode).
  • bake_project.ps1 -ProjectDir "D:\path\to\Project" — build the editor target and run the bake commandlet.
  • link_to_project.bat "D:\path\to\UEProject" — link only; link_to_project.bat -Unlink removes the last-created junction.
  • generate_project_files.bat — regenerate project files for the last-linked project (or pass -ProjectDir).

Notes

alt text

This project provides RenderStream input from Unreal Engine to disguise designer.

For the plugin setup process - please visit the RenderStream and Unreal Engine page for more details.

A Demo Unreal Project can be found on the disguise Resources page

Please note that from version 1.26 onwards, the plugin has been renamed from "disguiseuerenderstream" to "RenderStream-UE". Existing Unreal projects will need to be updated to reflect this.

About

RenderStream plugin for Unreal Engine

Topics

Resources

Stars

81 stars

Watchers

17 watching

Forks

Releases

Packages

Contributors

Languages