private static void BuildFaceLight(CubeFace face, Map map, Vector3i pos, MeshBuilder mesh) { Vector3i dir = CubeBuilder.directions[(int)face]; Color color = BuildUtils.GetBlockLight(map, pos + dir); mesh.AddFaceColor(color); }
private static void BuildCrossLight(Map map, Vector3i pos, MeshBuilder mesh) { Color color = BuildUtils.GetBlockLight(map, pos); mesh.AddColors(color, vertices.Length); }