Unreal Engine Buffers/Passing values.

Hi,

I am currently implementing a drone simulator and I am working on some sensors. Right now I am working on infrared camera, and I have a problem with passing data about objects.

The scene is quite big and uses great amount of assets from marketplace so I cannot guarentee that there will be some pin in material which won’t be used and I need somehow to pass the data about emissivity and temperature. Also I am not able to change materials of the objects manually, so CPD is not really an option

The only solution I found is to use stencil and then in postprocess material retrieve this information by id from the texture, but it limits the amount of the objects to 255 which is quite good (introducing regex helps), but still is not perfect since I want the number of different objects been unlimited.

Maybe there is completely different solution how to pass float values to post process material?

UE 5.7 is used.