GameTechDev / Intel-Texture-Works-Plugin

Intel has extended Photoshop* to take advantage of the latest image compression methods (BCn/DXT) via plugin. The purpose of this plugin is to provide a tool for artists to access superior compression results at optimized compression speeds within Photoshop*.
https://software.intel.com/en-us/articles/intel-texture-compression-plugin-for-photoshop
Apache License 2.0
259 stars 39 forks source link

Alpha Channels #20

Open kelstr opened 7 years ago

kelstr commented 7 years ago

Hey Guys,

I'm doing some modding for Total War: Warhammer... it seems like they've upgraded their dds texture files during their last DLC patch. Someone recommended your plugin and it's worked great for opening and saving DDS files. Here's the problem....

When I open this DDS texture.... http://www.mediafire.com/file/b7kn9v81o4bqey1/wef_wardancers_head_01_diffuse.dds

I get no option on how to handle the alpha channel... and when the file is open, there is NO alpha channel, no transparency... nada... nothing... zilch...

I had thought it must be the texture file... perhaps there is no alpha channel at all... but when I loaded their texture in game, sure enough it's using alpha data... SOOOO.... once opened up in Visual Studio Pro... you can see below that there is an alpha channel layer present.

visual_studio_alpha_present

This leads me to believe that the plugin is having issues handling this texture file... I wish I could comment on what type of file it is... and the likes, but I'm not that advanced :( I just wanted to make you guy's aware that it's not opening up any alpha information, for this type of texture dds.

It's important to note that almost all modders for TW:W are now switching from nvidia's plugin to yours... and they're all having the same problem that I'm currently having... so, any thoughts?

christop4D commented 7 years ago

Hi as far as i can see the texture is in BC1 compression format. The plugin does not load alpha for BC1, it assumes no alpha for this format. If you would convert it to BC3/7 then it would ask you on import how to interpret the alpha. Can you use any external converter to convert to BC3/DXT5 before importing to photoshop? Otherwise a code change is needed. Its open source so it should be possible. Does Total War: Warhammer support BC3 format textures?

You could use the old nvidia/gimp plugin for this, or picopixel viewer.

kelstr commented 7 years ago

Hey Christop4D,

Thanks for the information... one person has made a BC1 - BC3 converter program... but it's command line based and clunky as hell. What would it take to get the ITW Plugin to include support for BC1 ? There's tons of us modders that would jump to the moon if that support could be added !!! The company is beginning to use the BC3 formats for all of it's future DLC and games... so we're left in the dark :(

I would do the coding, but I have no idea... "as I'm a texture guy".

Any help would be soooooooooo appreciated....

Cheers !!

christop4D commented 7 years ago

The plug in supports bc1 it does not load alpha for it.

On 17 Dec 2016 8:01 a.m., "kelstr" notifications@github.com wrote:

Hey Christop4D,

Thanks for the information... one person has made a BC1 - BC3 converter program... but it's command line based and clunky as hell. What would it take to get the ITW Plugin to include support for BC1 ? There's tons of us modders that would jump to the moon if that support could be added !!! The company is beginning to use the BC3 formats for all of it's future DLC and games... so we're left in the dark :(

I would do the coding, but I have no idea... "as I'm a texture guy".

Any help would be soooooooooo appreciated....

Cheers !!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GameTechDev/Intel-Texture-Works-Plugin/issues/20#issuecomment-267745551, or mute the thread https://github.com/notifications/unsubscribe-auth/AQrmEmBv_-YJLpAUHJGfMB7Xk8hbKiB-ks5rI3rIgaJpZM4LNTiX .

JPatison commented 6 years ago

Taste this console https://www.dropbox.com/sh/f33etg0ehr7l79h/AAChrzrjs1b5zV1TvSREN1-Oa?dl=0 batch converter tool (need java). It's work. Your converted file has no alfa, but if checked a "Load mip-maps into separate layers" you're have transparency on the layers. Btw founed new one Issue: w/o checked box - transparency has been lost.