Download

How to get vertex color information from material into blueprint ( using signle line trace )

hi

For a school project in my final year i’m implementing a systhem in unreal in which a car drives over a landscape and leaves tracks that match the surface type.
I am using blueprint to do so.
As long as i’m using different materials i am able to detect these surface types using single line trace and the “get surface type” functionality.
Unfrotunatly tis is limited to detecting the material that is assigned to the mesh. ( at least think it is )

Now the problem is that i want to detect different surfaces on vertex painted meshes.
Since these are using the same material for several surface types i am not able to detect a difference using single line trace.

Could someone help me on how to get this vertex color information from a material into my blueprint ?

I thank you ! :slight_smile: