dynamic 2d texture creation in unity from script
- by gman
I'm coming from HTML5 and I'm used to having the 2D Canvas API I can use to generate textures. Is there anything similar in Unity3D?
For example, let's say at runtime I want to render a circle, put 3 initials in the middle and then take the result and put that in a texture. In HTML5 I'd do this
var initials = "GAT";
var textureWidth = 256;
var…