Question by
pauliusjmc · Sep 23, 2018 at 05:48 PM ·
texture2dbug-perhapscolor32
Why does green color have FFFFFF as its hex value?
I am trying to create a script that converts a png file into a tiled map and when I was trying to check if the color was green I noticed that every green pixel with the ColorUtility.ToHtmlStringRGB() function returned FFFFFF. Every other color registered properly. Why is it so?!
Comment
Answer by pauliusjmc · Sep 23, 2018 at 06:30 PM
Found out that I was using the image as a normal map instead of a sprite and now it works.
Your answer
Follow this Question
Related Questions
SetPixels edge pixels 0 Answers
Unity seems to be in 2D, but I want it in 3D 1 Answer
Using bitmaps for Image-processing with Unity 1 Answer
LoadRawTextureData - how to use? 0 Answers