change Staic mesh actors for HISM
I have create this BP that I would like to share and also ask for help to improve it. (link to the forum )
This is inspired on Rama's Instanced Static Mesh Editor Feature.
This BP take a lot of mesh actors from the level (all should be the same, and have the same Tag) and replace all of them for one unique Hierarchical Instanced Static Mesh (HISM) or just a ISM
In the sample we have 6000 cones, that before use the BP have 40FPS and with the BP can be play at 120 fps since we change that 6000 drawing call to only 1.
right now this only work at begin of play, so it's really good to edit since each copy is independent and can be edited until we compile the game, in very non destructive way
So since this is working I shared here. link to the BP
The problem is if you need o bake the light maps, since the replacement of geometry is done at run time, it can't be calculated at the swarm agent. Of course this is not a problem with dynamic lighting.
I have two ideas to solved, I hope someone can help me on with that.
Of course the idea is do it by BP as Rama show by C++ it's posible.
Follow this question
Once you sign in you will be able to subscribe for any updates here