PNG displaying wrong colors when used in shader

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kitfox

I’m trying to create a texture of color swatches to color my model with. However, for some reason the colors are being drastically altered. It’s almost like the green channel goes missing when it’s being used in a shader:


screen shot of incorrect shader

If you look on the right in the Inspector, you can see that it’s incorrect there too.

This is what my texture is supposed to look like:

Pasteboard - Uploaded Image
color swatch image texture

How do I fix this?

:bust_in_silhouette: Reply From: kitfox

Just figured it out. Setting the ‘Hdr Mode’ to ‘Force RGBE’ in the Import settings got me the correct colors.