In BaseNetworkable, match prefab name strings for resource nodes:
ore_sulfur-> Gold / Yellow label:[SULFUR ORE]ore_metal-> Silver / Cyan label:[METAL ORE]ore_stone-> Gray label:[STONE ORE]
Vector2 screenPos;
if (WorldToScreen(nodePos, screenPos, viewMatrix, screenW, screenH)) {
float dist = (nodePos - localPlayerPos).Length();
if (dist < 300.0f) {
ImGui::GetWindowDrawList()->AddText(ImVec2(screenPos.x, screenPos.y),
IM_COL32(255, 215, 0, 255),
Format("Sulfur Ore [%.0fm]", dist).c_str());
}
}