Nvidia photoshop plugin and where does the alpha channel go?
by James Brad Barnette · in Torque 3D Professional · 07/23/2009 (3:34 pm) · 6 replies
ok First off I need 3 maps in my material
I need:
color
transparency
normal
ok so I'm assuming that the transparencey goes in the Alpha channel of the diffuse map. Is this correct?
here is where I run into a problem though when I put it in the the alpha channel and try to save it out of photoshop I get and error saying too many channels (5) what gives? I know that DDS supports alpha channels. Any ideas?
I need:
color
transparency
normal
ok so I'm assuming that the transparencey goes in the Alpha channel of the diffuse map. Is this correct?
here is where I run into a problem though when I put it in the the alpha channel and try to save it out of photoshop I get and error saying too many channels (5) what gives? I know that DDS supports alpha channels. Any ideas?
About the author
#2
07/24/2009 (6:17 am)
yeah it had something to do with being a psd I guess. It was already flattened but still wouldn't work. I saved it out as a .tif file and then opened that back up and it exported fine. seems like a bug. especially since I have have a file with 20 layer and export to DDS fine just so long as it doesn't have a alpha. I would have to say it has got to be a bug in the dds exporter.
#3
07/24/2009 (7:47 am)
If you're saving a PNG, the alpha is the combined transparency of all your layers, not a separate channel you can edit. The most you can do with the default PNG plugin is use a layer mask, which allows you to edit the transparency and the color independently.
#4
07/24/2009 (8:13 am)
yeah I know but PNG has not been involved in the process
#5
Actually it depends on which PNG plugin you are using to save. The default Photoshop PNG plugin works sort of like you describe (it still saves an alpha channel but it uese it to tear out a per pixel transparency). A plugin like SuperPNG (old version) or PS 5 PNG will allow you to save with the much more user friendly non destructive alpha channel.
@James
I dont know if you saw this, but Pat Wilson added supported to Torque3D to let the specular run as its own bitmap! This way you can have full color RGB specular that affects the tint of your bitmaps versus a flat 8 bit b&w image.
07/24/2009 (8:31 am)
@ManoelActually it depends on which PNG plugin you are using to save. The default Photoshop PNG plugin works sort of like you describe (it still saves an alpha channel but it uese it to tear out a per pixel transparency). A plugin like SuperPNG (old version) or PS 5 PNG will allow you to save with the much more user friendly non destructive alpha channel.
@James
I dont know if you saw this, but Pat Wilson added supported to Torque3D to let the specular run as its own bitmap! This way you can have full color RGB specular that affects the tint of your bitmaps versus a flat 8 bit b&w image.
Associate Steve Acaster
[YorkshireRifles.com]
Do you have multiple layers in the RGB setting? Try merging them into one layer, so that RGB has only one layer. You might have to play around with some of the DDS exporter settings too, I'm not sure on that.
edit: And check that the background is a locked colour and not transparent itself.