I noticed the preview of 4.25 finally supports custom float data for ISM. While this is really awesome, it seems to be limited to usage in the vertex shader stage.
Is there any way to pass that information (just the instance ID would be enough actually) to the pixel shader stage so it can be used to e.g. choose different colours per instance.
Currently the only way to achieve this that I found is to hack the per-instance-random value, but even that doesn’t seem to work reliably.
I’d really like to implement a performant line-renderer, and HISM seem to be the best way to go about that without modifying the engine. But being unable to set specific colours per instance/set of instances sadly limits this to randomized colours.
Thank you all in advance,