#UASTC compression on Metallic/Roughness changes the colours
1 messages · Page 1 of 1 (latest)
Could it be caused by the resizing?
Resized to 2048 from 4096 in photoshop and no difference there
Original texture file https://drive.google.com/file/d/1vuXe0gcWud3DWxMCS1xnCfjdRynA4Qq9/view?usp=share_link
Not in Photoshop but with the max size set to 4k (or 8k - something at least the size of the original texture) I think we noticed color changes in the resize algo last week too so im wondering if thats the cause here too
It's only really happening with UASTC, just tested WebP it was fine, testing ETC1S now but won't use that for rough/metal anyway so I'll opt to either not compress for now or see if the UASTC colour issue can be fixed
I'm also noticing this colour change with albedo textures when using WebP/ETC1S, UASTC produces accurate or close enough colour for albedo textures it seems but UASTC definitely changed the colour of the metallic maps identified earlier in this issue
Repro model is here <#1072557890948309115 message>
Can you make sure resizing is off? If there's a bug with color spaces in that then it does not matter what format you're outputting.
It may well just be that, I am resizing - will test at native res
So I went and tried all the compression modes at Needle import 4k native res + unity import set to 4k native res. I found that the colours of the albedo itself still changed through compression without the textures being resized
Both models loaded using DropListener in a model viewer here https://demo.epm.digital/modelpreview/ , model is repositioned at 0,0,0 too in both imports
Do you have a cubemap/skybox in that scene that is part of the file you load? There's also differences on other parts that don't look textured, wonder if it's just external lighting that's different.
Do you see the same difference between the glb files in e.g. model-viewer?
The screenshots are from me having two tabs open of https://demo.epm.digital/modelpreview/ so the skybox and scene is identical it's just the model loaded that is different.
I am seeing the same over at the model-viewer here when testing the models https://modelviewer.dev/editor/
Original model is on the left in these model-viewer screenshots, tested in this screenshot ^ using ETC1S at 4k native res textures in Unity + Needle Texture import settings, the colour change is happening still with the albedo
tbh this small color difference is kind of expected for a compressed format, certainly doesn't look as strong a difference as in your pictures above
I know but.. 3D team are pointing pitchforks at me currently for product viz
The colour change on metallic textures at the start of this thread is enough to drastically change the material at least, the albedo isn't as bad
I agree but thats not what I'm seeing from the modelviewer screenshots there, right?
Anyways, will look into it
It is less noticeable on this more recent model as its Metallic texture is very different to the texture at the top of this thread which was becoming too dark when exported
I have another model this happens with I can send for a repro, a GLB file that looks perfect if exported with the GLTF Object Component. If exported with that component removed, the metallic/roughness is significantly different
this looks like specular again, not colorspace
I have a fix locally that I'll release later today (tbd testing)