精选特卖:从即日起至10月7日,精选道具五折特惠!

MultiDraw

BlueRose - 代码插件 - 2022/05/30

This plugin uses UnrealEngine's MeshDraw framework to achieve a multi-Pass effect looks like Unity's, with no post-processing required to achieve strokes and cutoff.

  • 支持的平台
  • 支持的引擎版本
    4.26 - 4.27, 5.0 - 5.4
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

This plugin uses UnrealEngine's MeshDraw framework to achieve a multi-Pass effect looks like Unity's, with no post-processing required to achieve strokes and cutoff.


Notice:**Because UE5.4 changed the marking of UStaticMeshComponent's virtual function GetUsedMaterials to final, it caused the plugin not to work properly. In order to avoid the crash problem, the functions of OutlineStaticMeshComponent, MultiDrawStaticMeshComponent are deactivated. It can be solved temporarily by adding another StaticMeshComponent and giving it Outline materials.**


Update Log

2023.03.29

  1. MultiDraw can control drawing according to the specified material id.

2022.12.19

  1. Update UE5.1 version.
  2. Support UE5.1 OverlayMaterial.
  3. Outline and MultiDraw now support Translucent material.

2022.10.30

  1. Add real-time material change function.

技术细节

Features:

  • control culling mode for model rendering,
  • specialised Outline components
  • allowing an object to render both Lit and Unlit materials
  • allowing an object to render material and wireframe material.

The effects achieved in the case level are as follows.

  • Outline effect
  • Cutoff effect

Code Modules:

  •  MultiDraw[Runtime]

Number of Components: 4

Platforms Tested: Windows

Documentation: http://www.blueroses.top/2022/05/02/multidraw-document/

Outline Effect Showcase Video:

Outline Quick Start Video: https://youtu.be/wcIocKPmz-0

Discord Support: https://discord.gg/y4fWqYsf4U

UE5.0 Example Project: MultiDraw ExampleProject

UE5.1 And Newer Version Example Project: MultiDraw ExampleProject

Usage:Download this project,and put MultiDraw plugin into plugins folder.

Notice:This project only UE5.0 and higher can run.