Topic: Markers Render Order
Hello,
I would like to ask about the following problem:
I have different types of markers. Each type has its own texture. Because of this, different material is instantiated for each texture.
I am using TilesetControl for map rendering.
When markers are rendered, I have to be able to control the sort order when rendering.
Sorting with custom "markerComparer" or through "OnGetFlatMarkerOffsetY" is working as intended only when markers are using the same material.
When markers with different materials overlap, I can not control their order through any of these methods.
I'd like to ask is there any way to control the sort order of markers with different materials, built in your plugin?
Also, I looked through the TilesetControl code and found out there is no way to manipulate the markers mesh generation process. That's why I would like to ask if there is any way to manipulate the mesh, without manually figuring out the mesh properties for every marker, that is not culled.
If I could access the UVs for every marker or add colors for markers' vertices, I can work out a way to render different markers with one material only.
Thank you!