Unity3d - Importing indexed textures using native plugin.
Posted on 2017-05-30 in unity3d • Tagged with unity3d, C++, C#, programming
So I wanted to import an indexed color texture into unity as a grayscale gradient, where gray level would correspond to original color index.
One would think there's an easy way to do it, but nope. System.Drawing.Graphics is not accessible in unity, and no indexed color support is …
Continue reading