In this video, I show how to create a C++ base class with an instanced static mesh component. This component allows you to create multiple instances of a static mesh and use a single draw call. It is also possible to set per instance custom data - that is data for each instanced mesh. This data can be used to modify just about anything in the material itself. In this video, I show how you could use the custom data to change the color of a single instance.
This is mainly useful for low end (mobile, VR) hardware that does not automatically batch and to where a single draw call is significant.
Patreon:
https://www.patreon.com/stephenamaloney
Download
0 formats
No download links available.
Unreal Engine 4 Tutorials: C++ Instanced Static Mesh Component and Per Instance Custom Data | NatokHD