Search Unity

Fast ETC2 encoder: ETC2Comp. Unity integration please!

Discussion in 'Android' started by mh114, Sep 19, 2016.

  1. Luka-Maske

    Luka-Maske

    Joined:
    Jul 2, 2015
    Posts:
    13
    @florianpenzkofer hey, I'm doing some compression comparisons right now since I'm trying to reduce some etc2 compression artifacts, can you check with what params is etc2comp being run when you use best compression for etc2 textures?

    Edit:
    Here are the params I'm using and it seems to be the same as unity's output, even if I increased effort to 100, there was no significant difference, so it seems the unity's settings are perfect as they are.
    input.png -effort 70 -format RGBA8 -errormetric rgbx -v -jobs 256 -output ./output.ktx
     
    Last edited: May 6, 2021
  2. florianpenzkofer

    florianpenzkofer

    Unity Technologies

    Joined:
    Sep 2, 2014
    Posts:
    479
    Etc2Comp Best in Unity also uses effort 70 and rgbx error metric.
    Only for XYZ normal maps we use the "normal" error metric.