Forums » Custom Maps

Custom map textures can't be RGBA32?

    • 3 posts
    March 31, 2020 10:08 PM PDT

    I'm making a map and my textures are RGBA32. If I open them in the inspector, there's no option under the format dropdown to change them to DXT1 or DXT5. Is there a solution to this??

    • Moderator
    • 998 posts
    April 1, 2020 8:42 AM PDT

    What is the image format? If it's not PNG, JPG or PSD I suggest converting it to one of those formats.

    Also make sure the Texture type is set to "Default" in import settings.

    • 3 posts
    April 1, 2020 3:59 PM PDT

    It is a PNG file and it is set to default. It's a really small file(16x16) that gets used as a color reference. A red car would use a couple red pixels for the whole body of the car, for example. It looks fine in the scene.
    Heres a screenshot of the editor:

    • 3 posts
    April 1, 2020 7:53 PM PDT

    Re-saving the images as .jpg files fixes the issue. Re-assigning the materials is going to be annoying, but at least it works.

    • Moderator
    • 998 posts
    April 2, 2020 4:44 AM PDT

    Yeah, PNG sometimes can use a different color format besides standard RGBA (ex. Indexed colors), which might not be supported by compression algorithm. But glad you found a solution.