yangge Posted April 24, 2023 Posted April 24, 2023 When I add gray images in data as texture, it turned to red. How do I get it to appear in its original color.
silent Posted April 24, 2023 Posted April 24, 2023 yangge Convert grayscale jpgs to RGB in 3rd party DCC tool (like Photoshop). Or you can do it via ImageMagic convert tool: https://stackoverflow.com/questions/34874771/convert-jpg-image-from-grayscale-to-rgb-using-imagemagick Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
werner.poetzelberger Posted April 24, 2023 Posted April 24, 2023 (edited) Red indicates a missing texture, or a PRESET is applied >> Mask, which only uses the RED channel. Check the texture properties and the if there is a preset applied and which channel the Texture has. Only RED or RGB. Ah, I just saw in you screenshot, the jpg is converted in a ATI/R8, so only red channel used. You want to do RGB. Also tip: dont use jpg images if your original source is an uncompressed image file. Rather do tif, tga or png or also good directly RBG8 dds uncompressed. Let UNIGINE then do the file conversion into DDS like DXT. Edited April 24, 2023 by werner.poetzelberger
Recommended Posts