Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to export 16bit Greyscale for Height maps #7

Open
McGergs opened this issue Jan 10, 2020 · 1 comment
Open

Ability to export 16bit Greyscale for Height maps #7

McGergs opened this issue Jan 10, 2020 · 1 comment

Comments

@McGergs
Copy link

McGergs commented Jan 10, 2020

Currently the tool always exports RGB textures. Is there a way to make it export to Greyscale? Right now when dealing with Height maps for UE4 I cannot use this tool because it always outputs RGB and Unreal only take Greyscale for Height maps.

@fcamarlinghi
Copy link
Owner

Hey! I'm going to post the same reply I sent you by email here since it's been a few days and I haven't heard back from you.

I've done some more digging into the 16bit area (admittedly it's been a while since I had some time to dedicate to the plugin), but unfortunately it's still as I remembered: the API that Expresso uses to retrieve layers from Photoshop only supports a 8bit RGBA format. By the look of things, it's unlikely that Adobe will ever update the API to support additional bit depths as it's been this way at least since 2016. As such, I'm afraid it's not possible to export 16bit images with Expresso.

Something that might be possible would be exporting 8bit grayscale images, but I'm unsure as to whether or not that would be useful at all (especially since it will require rewriting large portions of the exporter code that now work on the assumption that input and output are RGBA, with the risk of breaking existing functionality).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants