![]() The underlying issue turned out to be pretty interesting - more details below. Hi all - I’m happy to announce that we’ve just released Texture Tools Exporter 2021.1.1, which should solve the last aspect of this (without a need for a workaround). Could this be the reason for what you’re seeing? For instance, if you export from Photoshop to a PNG file and then convert to DDS using the standalone exporter, do you get the same result?Īlthough we aimed to have the same feature set as the legacy version, the internal image processing of the tool has been almost completely rewritten, so it’s surprising that you would be seeing the same problem with both versions, given how different they are internally. The Photoshop API has also changed in that time. It’s interesting that you note that the behavior is the same as the legacy version on Photoshop CS6, as the Photoshop version of the tool specifies Photoshop Creative Cloud (and testing was done on CC 20). I’m only human - there could still be flaws in the implementation! However, I’ve tested this with batches of images with zero-alpha pixels in both the standalone and Photoshop versions, and can confirm it works on those images. We fixed this issue in 2020.1.3 by using unpremultiplied alpha internally, and implemented an interesting trick to try to maintain colors when premultiplied alpha is enabled. If you read the messages above, I explain how and why this information loss occurred with zero-alpha pixels in the new version as a side effect of internal premultiplied alpha conversion. Photoshop CC)? You may also want to check that the “Premultiplied Alpha Blending (Alpha is Transparency)” box is unchecked when exporting images. So in some sense, it reads a copy that has already been flattened and already has the alpha channel selected.Ĭould you check in the About box to make sure you’re using version 2020.1.3, and not version 2020.1.2, and can you check to see if you see the same thing on a supported version of Photoshop (i.e. This works in the standalone exporter, because the standalone exporter reads a pre-flattened copy of the image with transparency that Photoshop stores in the PSD file (in most cases). So the solution is to flatten the image first. But for this file, Photoshop won’t let you select all of the channels at once without flattening the image, probably because the windows tint layer is the only layer with an alpha channel (which you can see by selecting the alpha channel, and then going back to the Layers pane and seeing which layers are highlighted red). My guess is that when the alpha channel isn’t selected, Photoshop only sends the red, green, and blue channels to the plugin, ignoring the alpha channel. OK, I think I figured it out! It seems to be a quirk in Photoshop - the solution is to flatten the image, then shift-select the alpha channel in addition to the RGB channels in Photoshop before exporting to DDS, like this:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |