Custom Data Separator UE Plugin

Custom Data on primitives or instances is a usable way to set parameters for rendering. Using Сustom Data also is optimization of material instances count.
A common problem here is the limited number of custom date indexes. Each index includes one float with a range 3.4E +/- 38. It is a large range which is not always a need. Changing the precision to additional indexes is a great solution.
The plugin helps to split each selected index into additional four indexes, with a range of 1 byte. This way you can combine indexes with a large range and partitioned indexes with a truncated range.




How to work with Plugin


In Blueprints will appear additional category Custom Data Separator. It will contain four new methods: Set Separated Default Primitive Custom Data, Set Separated Primitive Custom Data, Set Separated Instance Custom Data and Set Separated Hierarchical Instance Custom Data:





Set Separated Default Primitive Custom Data and Set Separated Primitive Custom Data - to work with Static Mesh and Skeletal Mesh Components:



Split pin “Color” and get the float list


Set Separated Instance Custom Data and Set Separated Hierarchical Instance Custom Data - to work with Hierarchical Instanced Static Mesh and Instanced Static Mesh Components accordingly:



Don't forget to use “Set Num Custom Data Floats” before


In Material Editor will appear additional category: Separated Custom Data. It will contain two new methods:
Separated Custom Data Parameter and Separated Instanced Data Parameter:





Separated Custom Data Parameter for working with Static Mesh and Skeletal Mesh Components. Separated Instanced Data Parameter for working with Hierarchical Instanced Static Mesh and Instanced Static Mesh Components:



Separated Instanced Data Parameter need “Vertex Interpolator” for work with pixel shader

https://www.fab.com/listings/ec43c003-2343-4df4-bb7c-20c8626d3423