I’m having problem importing grayscale .tga textures in UE. It says “Failed to import”… I opened the texture in photoshop and changed the mode from GRAYSCALE to RGB COLOR and it loaded just fine in UE.
It wouldn’t be much of a problem but the textures (like roughness and metallic) that are exported from substance designer, don’t contain color information and are exported as grayscale.
So I have to go the extra mile and change their mode to RGB so that UE can read them.
Is there any chance that UE will support grayscale textures in the future releases?
What are the settings you are using when exporting from Substance? I use Substance Designer all the time and I have never had to go through this step with my Roughness and Metallic maps that are exported right from Substance as .TGA or .PNG.
I’ve found a workaround - you just add a gradient map between the last node that goes into the roughness or metallic output node, so that way the targa texture will be exported as color and not grayscale.
i know its a while ago, but thanks for posting your solution. i came into the same problem yesterday. Interessting way of workaround :). i imported my maps quick to PS and changed the ColorMode. But yeah, yours is way faster and better. Thanks
The problem is that the .tga RGB textures are much heavier, than the grayscale - so if I only have grayscale info in the texture, it seems a waste to use the other channels when they are not needed.
Yes, maybe PNG is another alternative.
Actually not. After import double click on texture and change compression settings from default to grayscale - UE4 will treat this texture like a true greyscale in the engine, without using other 3 channels. But IMHO just using PNG for greyscale is easier and seems like intended use.
**Grayscale 8-bit TGA that can’t be imported into UE4 is 4096kb
My guess is that Grayscale “Compression” is lossless G8 format so you will keep every detail in your texture. Alpha is a compressed Grayscale - you will lose details. Default is heavy compressed format that has 4 channels(It works fine for single colored texture, but if you have 4 unique masks in channels you will get glitches and artifacts on their intersections). Turning on sRGB on G8 will turn it into extremely heavy uncompressed format with 4 channels, dunno why o.o
And yes, G8 size is equal 8-bit TGA with single channel
ah thanks for this information. The workaround with using png for the greyscale maps is a bit unhandy for substance designer and “fast” workflow. As far as i could see it, its just possible to export 1 type of file format for all the 4 textures you getting out.
PNG create wrong colors on the BaseColor Map. So just for doing no research, i starting to use tga. also worked well with sketchfab. so i have just 1 texture package for both. So converting it into RGB or Your soultion (i did not tried yet), seems fine for me.