MiaDesign: All products 50% off

Custom Stencil State Machine

Aasura-san - Code Plugins - Feb 11, 2023
Not Yet Rated

A plugin for a convenient Custom Stencil management, based on Gameplay Tags instead of raw values.

  • Supported Platforms
  • Supported Engine Versions
    5.0 - 5.1
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Preview: https://youtu.be/6tz26d3kfh0

This plugin allows you to create a state machine for custom stencil post processes based on Gameplay Tags instead of integer values. Only 2 material nodes are needed to set up. The plugin provides various functions for adding, removing, and checking the Primitive Component custom stencil. It also allows you to load the default post process settings to every level. And since it's based on Gameplay Tags, it's very easy to find all usages of a specific stencil type in assets.


NOTE: This plugin uses a bit flags technique, so you can create up to 8 custom stencil states with it, because the maximum value of the custom stencil is 255, so we can use up to 8 bits.

Technical Details

Documentation

Features:

  •  Custom stencil state machine based on Gameplay Tags
  •  Works for up to 8 custom stencil states
  •  Allows you to easily render multiple custom stencil post processes
  • Convenient functions for adding, removing or checking a specific stencil type
  • Provides the ability to set the default post process settings for every level in your project
  • It's very easy to find a specific stencil type through the Reference Viewer

Code Modules:

  •  CustomStencilStateMachine (Runtime)

Number of Blueprints: 5 material functions

Number of C++ Classes: 4

Network Replicated: N/A

Supported Development Platforms: Windows

Supported Target Build Platforms: Win64

Example Project: Example assets are in the plugin's Content folder