Post Reply 

Independent alpha in gimp

Mar 9, 2012, 19:46
Post: #1
Independent alpha in gimp
Hi!

I'm making textures for a game, for a material that needs a 24bit RGB for the normal texture, and alpha channel that controls the shinyness, specularity of the material. So in short, the alpha has nothing to do with transparency, but gimp handles it as transparency. However this isn't a real problem since i disable the layer mask, so it won't make the textures transparent.

The problem is: i have multiple layers a plain texture, which is multiplied by a baked ambient occlusion texture. But if i flatten the map to export as a png, then gimp applies the layer mask (alpha) to the layer where it is linked, then this layer gets multiplied with the baked layer, then the result is a 24bit rgb png, without alpha channel.
So is there a way to make alpha independent from any layers, as it controls totally different thing? Or i need to copy layermask delete it, flatten image and make a new layer mask on flattened image and paste the previously copied mask every time when i export the texture?
Find all posts by this user
Quote this message in a reply
Mar 9, 2012, 21:25
Post: #2
RE: Independent alpha in gimp
I fear it could be the latter.

It is also possible that some tool in ImageMagick allows you to copy the alpha channel from another image once you have saved the PNG (possibly by splitting the image into 4 independent images, one for each channel, overwriting the alpha channel one and combining them back). This is pure speculation from my part, but I've never been disappointed by IM so far, there is indeed a lot of power and even some magic in that utility. It may be made even more comfortable by having a small script to save the mask independently just before saving the main image

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  embedding icm profile in a psd generated by gimp Richar_d 1 65 Oct 13, 2017 12:00
Last Post: paynekj
  Gimp GUI icons missed massimobarbieri 1 210 Aug 23, 2017 17:51
Last Post: ofnuts
  why gimp in mac has bad performance mcheung63 1 203 Aug 20, 2017 10:13
Last Post: ythgilb
  Issue viewing GIMP-modified picture JuniorPear 1 285 Jul 6, 2017 05:03
Last Post: ythgilb
  GIMP Taking Too Long to Start (Fonts) Seta 2 338 Jun 20, 2017 16:10
Last Post: Seta

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS