Add color information to UI elements

Currently, Text and Image elements use a VertexFormat that contains position, normal and textcoord.

I suppose that normals could be avoided for screen elements, while could be useful to have (as an option) to add color data for each vertex. This would allow the implementation of 4 corners gradient effect by a script.

1 Like